:root {
  color-scheme: light;
  --ink: #1b1d4a;
  --muted: #4a4d75;
  --line: #dde0fb;
  --paper: #f3f2ff;
  --card: #ffffff;
  --accent: #5b3df5;
  --accent-2: #3b2fc9;
  --gold: #ffd21f;
  --navy: #121a46;
  --shadow: 0 10px 28px rgba(40, 30, 120, 0.08);
  font-family: Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1 { font-size: 1.35rem; margin: 0 0 0.4rem; font-weight: 650; }
h2 { font-size: 1.1rem; margin: 1.4rem 0 0.35rem; }

.top { max-width: 760px; margin: 0 auto; padding: 1.2rem 1rem 0; }
.brand {
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}
.lede { color: var(--muted); margin: 0.35rem 0 0.8rem; line-height: 1.45; }

.steps {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
}
.steps li {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
}
.steps li.on { color: var(--ink); border-color: var(--accent); font-weight: 700; }
.steps li.done { border-color: var(--accent-2); color: var(--accent-2); }

main { max-width: 760px; margin: 0 auto; padding: 0.4rem 1rem 3rem; }
.step { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1rem 1.1rem; box-shadow: var(--shadow); }
.step.on { display: block; }

label { display: block; font-size: 0.86rem; margin: 0.75rem 0 0; color: #3d3832; }
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 0.28rem;
  padding: 0.72rem 0.75rem;
  border: 1px solid #cfc6b8;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid #ddd6ff; border-color: var(--accent); }

.lobby-title {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.35rem 0 0.45rem;
}
body.site { background: #e9e8fb; }
.accepted { margin: 12px 16px 0; background: #fff; color: #1b1d4a; border-radius: 14px; padding: 12px 16px; font-weight: 800; box-shadow: 0 8px 24px rgba(40, 30, 120, 0.08); }
#homeBoard { width: 960px; max-width: calc(100% - 24px); margin: 16px auto 28px; background: linear-gradient(180deg, #fff 0%, #f0efff 100%); color: #1b1d4a; font-family: Inter, "Segoe UI", sans-serif; }
#homeBoard .svc { position: relative; height: 154px; padding: 8px 10px; border-radius: 14px; background: linear-gradient(180deg, #f6f7ff, #e9ebff); border: 1px solid #dde0fb; display: flex; flex-direction: column; align-items: stretch; text-align: left; font: inherit; color: inherit; }
#homeBoard .svc img { height: 62px; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
#homeBoard .svc b { font-size: 14px; font-weight: 800; line-height: 1.12; margin-top: 12px; }
#homeBoard .svc small { font-size: 10px; color: #4a4d75; margin-top: 3px; padding-right: 22px; line-height: 1.25; }
#homeBoard .svc::after { content: "→"; position: absolute; right: 9px; bottom: 8px; color: #5b3df5; font-weight: 800; }
@media (max-width: 980px) {
  #svcGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #siteTop nav { display: none !important; }
}
@media (max-width: 720px) {
  #homeBoard { width: 100%; max-width: none; margin: 0; }
  #siteTop .topbar { height: auto !important; padding: 10px 12px !important; }
  #siteTop .topbar img { width: 40px !important; height: 32px !important; }
  #siteTop .topbar span span:first-child { font-size: 15px !important; }
  #siteTop nav, #siteTop .topbar > div:last-child > :not(.tg) { display: none !important; }
  #siteTop .topbar > div:last-child { display: flex !important; }
  #homeBoard .board-hero { height: auto !important; min-height: 168px; margin: 0 !important; }
  #homeBoard .hero-copy { position: relative !important; left: auto !important; top: auto !important; width: auto !important; padding: 16px 14px 18px; }
  #homeBoard .htitle { font-size: 22px !important; }
  #homeBoard .hero-copy > div:nth-child(2) { font-size: 16px !important; }
  #homeBoard .hero-img { position: relative !important; left: auto !important; display: block; width: 100%; height: 120px !important; object-fit: contain; object-position: right center; mask-image: none !important; -webkit-mask-image: none !important; }
  #svcGrid { grid-template-columns: 1fr !important; gap: 8px !important; padding: 12px !important; }
  #homeBoard .svc { height: auto; min-height: 52px; flex-direction: row; align-items: center; gap: 10px; background: #f1f2ff; }
  #homeBoard .svc img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex: none; }
  #homeBoard .svc b { margin-top: 0; font-size: 14px; }
  #homeBoard .svc small { display: none; }
  #telefonBanner { height: auto !important; display: block !important; margin: 12px !important; padding: 14px; }
  #telefonBanner > img { position: relative !important; height: 72px !important; mask-image: none !important; }
  #telefonBanner .banner-copy { margin-left: 0 !important; width: auto !important; }
  #telefonBanner .banner-icons { display: none !important; }
  #homeBoard .how-row { flex-direction: column !important; align-items: flex-start !important; }
  body.site main, body.site #work { max-width: none; margin: 0; padding: 0 10px 24px; }
  .step { padding: 0.85rem; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .atitle span, .aname { display: none; }
  .aside { flex-direction: row; overflow-x: auto; }
  .aitem { flex: none; white-space: nowrap; height: 34px; }
  .dmid, .dfiles, .dactions { flex-direction: column; align-items: stretch; }
  .otable { display: block; overflow-x: auto; }
}
body.site main { max-width: 1120px; }
body.site #work { max-width: 760px; margin: 1.2rem auto 0; }
.site-nav {
  position: sticky; top: 0; z-index: 5;
  background: #fff;
  border-bottom: 1px solid #efeefe;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 1rem;
}
.site-links { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.site-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.78rem; white-space: nowrap; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 0.45rem; }
.soc { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.soc.tg { background: #2aa3ef; }
.soc.wa { background: #25d366; }
.btn.login { min-height: 36px; border-radius: 10px; padding: 0 0.9rem; background: linear-gradient(135deg, #6a4dff, #5b2fe8); font-size: 0.82rem; font-weight: 700; }
.logo { display: flex; align-items: center; gap: 0.45rem; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 42px; height: 34px; }
.logo b { display: block; font-size: 1.05rem; font-weight: 800; color: #3b2fc9; letter-spacing: -0.3px; }
.logo small { display: block; color: #2a2d5a; font-size: 0.72rem; font-weight: 500; }
.mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #7a5cff, #4630c9);
  color: #fff; font-weight: 800;
}
.hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 1rem;
  align-items: center;
  margin: 0.35rem 1rem 0.6rem;
  min-height: 250px;
  padding: 1.3rem 1.4rem;
  border-radius: 0;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(100deg, #17186a 0%, #2a1f9c 42%, #6a3ff0 100%);
}
.hero h1 { font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.1; margin: 0; font-weight: 800; }
.hero-gold { color: #ffd21f; font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 800; line-height: 1.15; margin: 0.35rem 0 0.45rem; }
.hero p { color: #e6e6ff; max-width: 28rem; margin: 0; font-weight: 500; }
.eyebrow { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; margin: 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0.75rem 0 0.9rem; }
.hero-points span { font-size: 0.78rem; font-weight: 600; }
.btn.gold { background: var(--gold); color: #1b1d4a; border-radius: 22px; font-weight: 800; }
.hero-art { width: 100%; height: 220px; }
.catalog-head { max-width: 1120px; margin: 0 auto; padding: 0.4rem 1.1rem 0.2rem; }
.catalog-head h2, .how h2 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.catalog-head p, .how p { color: var(--muted); margin-top: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; }
button.catalog-card {
  position: relative;
  font: inherit; color: inherit; text-align: left;
  min-height: 154px;
  background: linear-gradient(180deg, #f6f7ff, #e9ebff);
  border: 1px solid #dde0fb; border-radius: 14px;
  padding: 8px 10px 12px; box-shadow: none;
  display: flex; flex-direction: column; align-items: stretch;
}
button.catalog-card:hover { border-color: #b7b4f5; transform: translateY(-2px); }
.card-visual {
  height: 62px; display: flex; align-items: flex-end; justify-content: center;
  background: none;
}
.card-body { display: contents; }
.catalog-card b { display: block; margin-top: 8px; font-size: 0.92rem; font-weight: 800; line-height: 1.15; }
.catalog-card small { display: block; color: var(--muted); line-height: 1.3; font-size: 0.72rem; margin-top: 4px; padding-right: 18px; }
.card-arr { position: absolute; right: 9px; bottom: 8px; color: #5b3df5; font-weight: 800; }
.work-bar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.55rem 0.7rem; }
.repair {
  margin-top: 0.9rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(100deg, #17186a 0%, #2e1fb0 50%, #4a2ee0 100%);
}
.repair h2 { color: #ffd21f; font-size: 1.2rem; margin: 0 0 0.25rem; }
.repair p { color: #e6e6ff; margin: 0 0 0.55rem; font-size: 0.86rem; }
.repair ul { display: flex; gap: 0.55rem; list-style: none; padding: 0; margin: 0 0 0 auto; }
.repair li {
  width: 78px; text-align: center; font-size: 0.68rem; font-weight: 600; line-height: 1.2;
}
.how { margin-top: 0.8rem; background: rgba(255,255,255,0.86); border: 1px solid #fff; border-radius: 14px; padding: 0.85rem 1rem 1rem; }
.how ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; list-style: none; padding: 0; margin: 0.7rem 0 0; }
.how li { display: flex; align-items: center; gap: 0.55rem; background: transparent; padding: 0; }
.how b { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; box-shadow: 0 0 0 4px #e6e0ff; margin: 0; }
.how strong { display: block; font-size: 0.82rem; }
.how small { display: block; color: var(--muted); font-size: 0.72rem; }
.info-band { margin-top: 0.7rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; }
.info-band h2 { margin-bottom: 0.25rem; }
.info-band p { margin: 0; color: var(--muted); }
@media (max-width: 1000px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .repair { flex-direction: column; align-items: flex-start; }
  .repair ul { margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .hero, .how ol { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .site-links a:not([href="#lobby"]) { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lobby { display: grid; gap: 0.7rem; }
button.service { font: inherit; color: inherit; }
.service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.05rem 1.1rem;
  box-shadow: var(--shadow);
}
.service:hover { border-color: #b08990; }
.service-no {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  color: var(--accent);
  min-width: 1.8rem;
}
.service b {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.28rem;
  font-weight: 650;
}
.service small { display: block; color: var(--muted); margin-top: 0.2rem; line-height: 1.35; }
.service-go {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.work-bar { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.tg-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem 1rem 1rem; margin-bottom: 0.7rem; box-shadow: var(--shadow); }
.tg-box b { display: block; color: var(--ink); }
.tg-box .btn { margin: 0.15rem 0.4rem 0 0; }
.tg-box.ok { border-color: #b7e4c7; }
.admin-services { display: grid; gap: 0.45rem; margin: 0.4rem 0 0.8rem; }
.field-row { align-items: end; margin-top: 0.35rem; }
.custom-sign { width: 100%; height: 140px; border: 1px solid #cfc6b8; border-radius: 10px; background: #fff; touch-action: none; }
.custom-photo { display: block; max-width: 180px; margin-top: 0.45rem; border-radius: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

.hint { color: var(--muted); font-size: 0.88rem; line-height: 1.4; margin: 0.2rem 0 0.7rem; }
.nav { display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 1.1rem; }
.btn {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid #cfc6b8; }
.btn.slim { min-height: 38px; padding: 0.4rem 0.8rem; font-size: 0.88rem; }
.btn:disabled { opacity: 0.55; }

.job, .rel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem 0.7rem;
  margin: 0.55rem 0;
  background: #fbf8f2;
}
.rel-top, .job-top { display: flex; justify-content: space-between; align-items: center; }
.x {
  border: 0; background: transparent; color: var(--accent); font-size: 1.2rem; line-height: 1; padding: 0.2rem 0.35rem;
}

.foto-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.size {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
}
.size.on, .shape.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.shape {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
}
.frame {
  position: relative;
  width: min(240px, 70vw);
  height: calc(min(240px, 70vw) * 1.333);
  margin: 0.8rem auto 0.4rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8dbef;
  touch-action: none;
  box-shadow: var(--shadow);
}
.frame img { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; }
.guide {
  position: absolute;
  left: 24%;
  top: 9%;
  width: 52%;
  height: 36%;
  border: 1.5px dashed rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
  border-radius: 50%;
  pointer-events: none;
}
.zoom input { padding: 0; }
#sign {
  width: 100%;
  height: 150px;
  border: 1px dashed #cfc6b8;
  border-radius: 12px;
  background: #fff;
  touch-action: none;
}

.outfits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.outfit {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 0.4rem;
}
.outfit.on { border-color: var(--accent); box-shadow: 0 0 0 2px #f0c9ce; }
.outfit img { width: 100%; height: 132px; object-fit: cover; border-radius: 10px; background: #f6f1e8; display: block; }
.outfit b { display: block; margin-top: 0.35rem; font-size: 0.92rem; }
.outfit.plain {
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  background: #f7f3ec;
}

.templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
@media (max-width: 700px) { .templates { grid-template-columns: 1fr; } }
.tpl {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 0.55rem;
}
.tpl.on { border-color: var(--accent); box-shadow: 0 0 0 2px #f0c9ce; }
.tpl b { display: block; margin-top: 0.35rem; }
.tpl small { color: var(--muted); display: block; }

.sheet {
  display: block;
  height: 210px;
  border-radius: 6px;
  background: #fff center 18px / 54px 72px no-repeat, #fff;
  border: 1px solid #c8c2b6;
  position: relative;
  overflow: hidden;
}
.sheet::before {
  content: "MA’LUMOTNOMA";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.sheet::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 10px;
  width: 42px;
  height: 56px;
  border: 1px solid #222;
  background: var(--photo, #ddd) center/cover no-repeat;
}
.sheet-klassik { font-family: "Times New Roman", serif; }
.sheet-rasmiy { box-shadow: inset 0 0 0 3px #1a3f86, inset 0 0 0 5px #fff, inset 0 0 0 6px #1a3f86; }
.sheet-rasmiy::before { color: #1a3f86; }
.sheet-sodda { box-shadow: inset 6px 0 0 #1a5c48; }
.sheet-sodda::before { color: #1a5c48; font-family: "Segoe UI", sans-serif; }
.mini-lines {
  position: absolute;
  left: 10px;
  right: 62px;
  top: 48px;
  font-size: 8px;
  line-height: 1.35;
  color: #333;
  font-family: "Times New Roman", serif;
}
.sheet-sodda .mini-lines { font-family: "Segoe UI", sans-serif; }

.err { color: #8d1d2c; font-size: 0.92rem; }
.done-name { font-size: 1.25rem; font-weight: 700; }

.modal {
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.modal[hidden] { display: none; }
#camVideo { width: 100%; flex: 1; min-height: 0; object-fit: contain; background: #000; } /* qirqmasdan to'liq ko'rsatadi */
.modal-bar { display: flex; gap: 0.4rem; padding: 0.7rem; background: #1c1915; }
.modal-bar .btn { flex: 1; }
.modal-bar .ghost { color: #fff; border-color: #888; }

.apanel { margin: 0; min-height: 100vh; background: #e9e8fb; color: #1b1d4a; font-family: Inter, "Segoe UI", sans-serif; }
.atop { height: 54px; background: #121a46; display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.atitle { color: #fff; font-size: 15px; font-weight: 700; }
.atitle span { font-weight: 500; }
.atop-right { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #fff; }
.abell { width: 20px; height: 20px; border: 2px solid #fff; border-radius: 10px 10px 4px 4px; position: relative; }
.abell i { position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b4a; border: 1.5px solid #121a46; }
.aavatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.aname { font-size: 11px; font-weight: 600; line-height: 1.15; }
.abody { display: grid; grid-template-columns: 210px 1fr; min-height: calc(100vh - 54px); }
.aside { background: #121a46; padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.aitem { height: 36px; border: 0; border-radius: 8px; background: transparent; color: #dfe3ff; text-align: left; padding: 0 10px; font-weight: 650; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.aitem.on, .aitem:hover { background: #2d4bd0; color: #fff; }
.aitem b { margin-left: auto; min-width: 18px; height: 18px; border-radius: 9px; background: #ff3b4a; color: #fff; font-size: 11px; display: grid; place-items: center; }
.amain { background: #f6f7ff; padding: 18px 16px 28px; }
.amain h1 { margin: 0 0 12px; font-size: 22px; font-weight: 800; }
.astats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.astats article { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 2px 8px rgba(60, 50, 160, 0.1); }
.astats span { display: block; color: #4a4d75; font-size: 12px; font-weight: 600; }
.astats b { display: block; margin-top: 6px; font-size: 22px; }
.acard, .adetail { margin-top: 12px; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 10px 28px rgba(40, 30, 120, 0.08); }
.arowhead, .arow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.alink, .aghost, .ago { border-radius: 10px; min-height: 36px; padding: 0 12px; font-weight: 700; font-size: 13px; }
.alink { border: 0; background: transparent; color: #5b3df5; }
.ago { border: 0; background: #5b3df5; color: #fff; }
.aghost { border: 1px solid #e0e2f4; background: #fff; color: #1b1d4a; text-decoration: none; display: inline-flex; align-items: center; }
.apanel input, .apanel select, .apanel textarea { border: 1px solid #e3e5f7; border-radius: 10px; }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.otable { width: 100%; border-collapse: collapse; font-size: 13px; }
.otable th { text-align: left; font-size: 12px; padding: 8px 6px; border-bottom: 1px solid #ececf8; }
.otable td { padding: 8px 6px; border-bottom: 1px solid #f1f1fa; }
.otable tr.pick { cursor: pointer; }
.badge { display: inline-flex; min-width: 52px; height: 20px; border-radius: 4px; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.badge.yangi { background: #ffd6da; color: #d62839; }
.dtop, .dmid, .dfiles, .dactions { display: flex; gap: 12px; align-items: center; }
.dtop { margin-bottom: 12px; }
.dmid { padding-bottom: 12px; border-bottom: 1px solid #ececf8; }
.dfiles { margin-top: 12px; }
.dfiles > div { flex: 1; min-height: 120px; border: 1px solid #e3e5f7; border-radius: 12px; background: #fafaff; padding: 10px 12px; }
.dactions { margin-top: 12px; }
.dactions a, .dactions button { flex: 1; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.okb { background: #1fa845; color: #fff; border: 0; }
.sendb { background: #5b3df5; color: #fff; border: 0; }
.nob { background: #fff; color: #1b1d4a; border: 1px solid #e0e2f4; }
.ahint { color: #4a4d75; font-size: 13px; }
@media (max-width: 900px) {
  .abody, .astats, .agrid { grid-template-columns: 1fr; }
}
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.card-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.card-row b { font-size: 1rem; }
.card-row span { color: var(--muted); font-size: 0.85rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.empty { color: var(--muted); padding: 0.6rem 0; }
.pdf-frame { width: 100%; height: 80vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-top: 0.8rem; }

/* --- Dizayn: mijoz sahifasi qo'shimchalari --- */
#siteTop .login-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 10px; background: linear-gradient(135deg, #6a4dff, #5b2fe8); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 14px rgba(91, 47, 232, .3); }
#siteTop .login-btn[hidden] { display: none; }
#homeBoard .hero-feats { display: flex; gap: 20px; margin-top: 10px; color: #fff; font-size: 10.5px; font-weight: 600; }
#homeBoard .hero-feats span { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
#homeBoard .hero-feats svg { width: 22px; height: 22px; color: #fff; }
#homeBoard .banner-icons span { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 5px; line-height: 1.15; }
#homeBoard .banner-icons i { width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
#homeBoard .banner-icons svg { width: 22px; height: 22px; color: #fff; }
#homeBoard .how-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
#homeBoard .how-step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
#homeBoard .how-step > span b { display: block; font-size: 12.5px; }
#homeBoard .how-step small { display: block; font-size: 10.5px; color: #4a4d75; line-height: 1.25; }
#homeBoard .how-num { width: 40px; height: 40px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 0 0 4px #e6e0ff; }
#homeBoard .how-chev { width: 18px; height: 18px; color: #3b2fc9; flex: none; }
#homeBoard .svc:hover { border-color: #b9b0ff; box-shadow: 0 8px 18px rgba(91, 61, 245, .12); }
#homeBoard .svc-tel, .m-tools, .m-bottom { display: none; }

@media (max-width: 720px) {
  body.site { background: #fff; padding-bottom: 76px; }
  #siteTop .login-btn { display: none !important; }
  #siteTop .topbar > div:last-child::after { content: ""; width: 22px; height: 14px; margin-left: 4px; background: linear-gradient(#1b1d4a 0 0) top/100% 2.4px no-repeat, linear-gradient(#1b1d4a 0 0) center/100% 2.4px no-repeat, linear-gradient(#1b1d4a 0 0) bottom/100% 2.4px no-repeat; }
  #homeBoard .board-hero { margin: 0 10px !important; border-radius: 14px; min-height: 150px; }
  #homeBoard .hero-copy { padding: 18px 16px !important; max-width: 62%; }
  #homeBoard .hero-copy > div:nth-child(1) { display: none; }
  #homeBoard .hero-copy > div:nth-child(2) { font-size: 20px !important; color: #fff !important; margin-top: 0 !important; }
  #homeBoard .hero-copy > div:nth-child(3), #homeBoard .hero-feats, #homeBoard .hero-copy > a { display: none !important; }
  #homeBoard .hero-img { position: absolute !important; right: -40px; left: auto !important; top: 10px !important; width: auto !important; height: 135px !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%) !important; mask-image: linear-gradient(90deg, transparent, #000 18%) !important; }
  #homeBoard .board-hero + div { display: none !important; }
  .m-tools { display: block; padding: 0 12px; margin-top: -18px; position: relative; z-index: 2; }
  .m-search { display: flex; align-items: center; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(40, 30, 120, .14); padding: 0 14px; color: #3b2fc9; }
  .m-search input { border: 0 !important; outline: 0 !important; margin: 0; padding: 13px 0; font-size: 14px; background: transparent; }
  .m-tabs { display: flex; gap: 8px; margin-top: 14px; }
  .m-tabs button { height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid #e0e2f4; background: #fff; color: #1b1d4a; font: 600 13px Inter, sans-serif; }
  .m-tabs button.on { background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; border-color: transparent; }
  #svcGrid { padding: 10px 12px 0 !important; }
  #homeBoard .svc { background: #fff !important; border: 1px solid #eceefb; min-height: 48px !important; padding: 6px 10px !important; box-shadow: 0 2px 6px rgba(40,30,120,.05); }
  #homeBoard .svc::after { content: ""; width: 8px; height: 8px; border: solid #1b1d4a; border-width: 2.2px 2.2px 0 0; transform: rotate(45deg); right: 16px; bottom: auto; top: calc(50% - 5px); }
  #homeBoard .svc img { width: 40px !important; height: 36px !important; object-fit: contain !important; }
  #homeBoard .svc b { font-size: 13.5px !important; font-weight: 700 !important; }
  #homeBoard .svc-tel { display: flex; border: 1.5px solid #b9b0ff !important; background: #f6f4ff !important; }
  #homeBoard .svc-tel b { color: #3b2fc9; }
  #homeBoard .svc-tel small { display: block !important; position: absolute; left: 60px; bottom: 6px; font-size: 10.5px; }
  #homeBoard .svc-tel b { margin-bottom: 12px; }
  #homeBoard .svc-telico { width: 40px; height: 36px; display: grid; place-items: center; color: #1b1d4a; flex: none; }
  #homeBoard .svc.m-hide { display: none !important; }
  #telefonBanner, #homeBoard .how-row, #homeBoard .how-row + * { display: none !important; }
  #homeBoard > div:has(> .how-row) { display: none !important; }
  .m-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: 66px; background: #fff; border-top: 1px solid #eceefb; box-shadow: 0 -6px 18px rgba(40,30,120,.06); align-items: center; justify-content: space-around; padding-bottom: env(safe-area-inset-bottom); }
  .m-bottom a { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 10px Inter, sans-serif; color: #1b1d4a; text-decoration: none; width: 64px; }
  .m-bottom a.on { color: #3b2fc9; }
  .m-bottom svg { width: 22px; height: 22px; }
  .m-bottom .m-plus { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; justify-content: center; margin-top: -26px; box-shadow: 0 8px 18px rgba(91,47,232,.4); }
  .m-bottom .m-plus svg { width: 26px; height: 26px; }
  body.site:has(#work:not([hidden])) .m-bottom { display: none; }
}

/* --- Dizayn: admin panel --- */
.apanel { background: #f1f1fb; }
.atop { height: 58px; padding: 0 20px; gap: 10px; }
.atitle { font-size: 17px; }
.abell { width: auto; height: auto; border: 0; border-radius: 0; display: inline-flex; }
.abell i { right: 0; top: 0; }
.aavatar { width: 34px; height: 34px; border: 2px solid #fff; }
.aside { padding: 12px 10px; gap: 2px; }
.aitem { height: 40px; font-size: 13.5px; padding: 0 12px; gap: 11px; cursor: pointer; }
.aitem.on { background: #2f4fe0; }
.aico { width: 18px; height: 18px; flex: none; }
.amain h1 { font-size: 21px; }
.astats { gap: 12px; }
.astats article { border-radius: 14px; padding: 14px; box-shadow: 0 4px 14px rgba(60, 50, 160, 0.08); }
.astats span { font-size: 12px; margin-top: 8px; }
.astats b { font-size: 24px; font-weight: 800; margin-top: 2px; }
.sico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.sico svg { width: 24px; height: 24px; }
.s-new { background: #efe9ff; color: #7a3ff0; }
.s-work { background: #e3efff; color: #1f6fe8; }
.s-ready { background: #e2f7e8; color: #1fa845; }
.s-money { background: #fff1db; color: #f29a12; }
.otable th { color: #1b1d4a; font-weight: 700; }
.otable tr.pick:hover td { background: #f6f5ff; }
.badge { padding: 0 8px; border-radius: 5px; }
.badge.jarayonda { background: #ffe9a8; color: #8a5a00; }
.badge.tayyor { background: #c9f2d4; color: #137a32; }
.adetail { padding: 18px; }
.dtop { gap: 12px; }
.dtop b { font-size: 20px; font-weight: 800; }
.dtop .badge { margin-left: auto; height: 26px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.dback { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e0e2f4; background: #fff; font-size: 17px; font-weight: 700; color: #1b1d4a; cursor: pointer; }
.dmid { align-items: flex-start; gap: 22px; }
.dclient { display: flex; gap: 12px; align-items: center; flex: 1; padding-right: 18px; border-right: 1px solid #ececf8; min-height: 70px; }
.dclient b { display: block; font-size: 15px; }
.dclient small { color: #4a4d75; font-size: 12.5px; }
.davatar { width: 46px; height: 46px; border-radius: 50%; background: #efe9ff; color: #7a5cff; display: grid; place-items: center; flex: none; }
.davatar svg { width: 28px; height: 28px; }
.dinfo { flex: 1.3; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 13.5px; }
.dinfo dt { color: #1b1d4a; font-weight: 500; }
.dinfo dd { margin: 0; font-weight: 600; }
.dfiles > div { background: #fff; min-height: 150px; padding: 12px 14px; box-shadow: 0 2px 8px rgba(60,50,160,.05); }
.dfiles > div > b { font-size: 14.5px; }
.drow { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.dthumb { width: 96px; height: 110px; object-fit: cover; border-radius: 10px; background: #e9ebf8; }
.dempty { width: 96px; height: 110px; border-radius: 10px; background: #f1f2fb; display: grid; place-items: center; text-align: center; font-size: 11.5px; color: #4a4d75; padding: 6px; }
.dplus { width: 70px; height: 70px; border-radius: 10px; background: #eef0fa; color: #6b6f99; display: grid; place-items: center; font-size: 30px; font-weight: 300; }
.dresult { width: 150px; height: 110px; object-fit: contain; background: #f6f7fd; border-radius: 8px; box-shadow: 0 2px 10px rgba(40,30,120,.12); display: block; }
.dlinks { margin-left: auto; display: flex; flex-direction: column; gap: 8px; align-items: center; align-self: flex-end; }
.ddown { width: 36px; height: 36px; border-radius: 9px; background: #6a4dff; display: grid; place-items: center; }
.ddown svg { width: 20px; height: 20px; }
.dword { border: 1px solid #e0e2f4; background: #fff; border-radius: 8px; height: 28px; padding: 0 10px; font-size: 12px; font-weight: 700; color: #2b5cd8; cursor: pointer; }
.dactions { margin-top: 16px; }
.dactions a, .dactions button { height: 46px; gap: 9px; font-size: 14px; cursor: pointer; }
.dactions svg { width: 20px; height: 20px; }
.dactions .nob span { font-size: 16px; }
@media (max-width: 720px) {
  .dclient { border-right: 0; padding-right: 0; }
  .drow { flex-wrap: wrap; }
}

/* --- Professional: telefon, narx, to'lov, savat, sozlamalar --- */
.contact-box { background: #fff; border: 1px solid #e3e5f7; border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; }
.contact-box label { font-weight: 700; }
.contact-box .hint { margin: 6px 0 0; }
.work-price { margin-left: auto; background: #efe9ff; color: #3b2fc9; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 10px; white-space: nowrap; }
.work-bar { display: flex; align-items: center; gap: 10px; }
#homeBoard .svc-price { position: absolute; left: 10px; bottom: 8px; font-style: normal; font-size: 11px; font-weight: 800; color: #3b2fc9; background: #fff; border: 1px solid #ddd6ff; border-radius: 7px; padding: 1px 7px; }
#homeBoard .svc:has(.svc-price) small { margin-bottom: 18px; }
@media (max-width: 720px) {
  #homeBoard .svc-price { position: static; margin-left: auto; margin-right: 22px; }
  #homeBoard .svc:has(.svc-price) small { margin-bottom: 0; }
}
.pay { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.pay.ok { background: #c9f2d4; color: #137a32; }
.pay.wait { background: #ffe9a8; color: #8a5a00; }
.dpay { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dmini { height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid #ddd6ff; background: #f6f4ff; color: #3b2fc9; font-size: 12px; font-weight: 700; cursor: pointer; }
.dmini:hover { background: #ece7ff; }
.dmini.ok { background: #e2f7e8; border-color: #b9ebc7; color: #137a32; }
.dmini.danger { background: #fff0f1; border-color: #ffd0d5; color: #c81f33; }
.dphone { display: inline-flex; align-items: center; gap: 6px; color: #1b1d4a; font-weight: 600; font-size: 13.5px; text-decoration: none; margin: 3px 0; }
.dphone svg { width: 15px; height: 15px; color: #3b2fc9; }
.dclient > div { display: flex; flex-direction: column; }
.afilter { display: inline-flex; background: #f1f1fb; border-radius: 10px; padding: 3px; gap: 2px; }
.afilter button { border: 0; background: transparent; border-radius: 8px; height: 28px; padding: 0 12px; font-weight: 700; font-size: 12px; color: #4a4d75; cursor: pointer; }
.afilter button.on { background: #fff; color: #3b2fc9; box-shadow: 0 1px 4px rgba(40,30,120,.12); }
.astats article.plain span { margin-top: 0; }
.astats article.plain b { font-size: 21px; margin-top: 6px; }
.abars { margin-top: 10px; display: grid; gap: 8px; }
.abar { display: grid; grid-template-columns: 220px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.abar i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #7a4dff, #5b2fe8); }
.abar b { text-align: right; }
.xprice { width: 130px !important; margin: 0 !important; padding: 7px 10px !important; font-size: 13px !important; }
.card-actions .aghost { min-height: 32px; }
.aitem b.gray { background: #4a5590; }
.aswitch { display: flex !important; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin: 6px 0 10px; }
.aswitch input { position: absolute; opacity: 0; width: 0; height: 0; }
.aswitch span { width: 42px; height: 24px; border-radius: 12px; background: #d6d8ea; position: relative; transition: background .15s; flex: none; }
.aswitch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.aswitch input:checked + span { background: #1fa845; }
.aswitch input:checked + span::after { transform: translateX(18px); }
.acard h2 { font-size: 16px; margin: 0 0 6px; }
.tright { text-align: right; white-space: nowrap; }
@media (max-width: 720px) { .abar { grid-template-columns: 1fr 1fr 30px; } }
.work-bar { flex-wrap: wrap; }
#workBrand { flex: 1; min-width: 0; letter-spacing: 0.02em; line-height: 1.2; }
a.dword { display: inline-flex; align-items: center; text-decoration: none; }

.sendb.sent { background: #1b1d4a; }
.badge.sent { background: #e6e9ff; color: #3b2fc9; min-width: 0; }

/* --- Buyurtmalarim --- */
body.site .mine { max-width: 760px; margin: 1.2rem auto 0; }
.mine-card { background: #fff; border: 1px solid #e3e5f7; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(40, 30, 120, .06); }
.mine-card.ready { border-color: #b9ebc7; box-shadow: 0 6px 18px rgba(31, 168, 69, .12); }
.mine-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mine-head b { font-size: 16px; color: #1b1d4a; }
.mine-chip { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: #ffd6da; color: #d62839; white-space: nowrap; }
.mine-chip.jarayonda { background: #ffe9a8; color: #8a5a00; }
.mine-chip.tayyor { background: #c9f2d4; color: #137a32; }
.mine-chip.bekor { background: #eceef5; color: #5a5e80; }
.mine-meta { font-size: 13px; color: #4a4d75; margin-top: 4px; }
.mine-price { display: inline-block; margin-left: 6px; color: #3b2fc9; font-weight: 700; }
.mine-track { list-style: none; display: flex; padding: 0; margin: 12px 0 4px; counter-reset: s; }
.mine-track li { flex: 1; position: relative; text-align: center; font-size: 11.5px; font-weight: 600; color: #9a9dbb; padding-top: 26px; }
.mine-track li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #e6e8f5; color: #8c90b3; display: grid; place-items: center; font-size: 12px; z-index: 1; }
.mine-track li + li::after { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: #e6e8f5; }
.mine-track li.on { color: #3b2fc9; }
.mine-track li.on::before { background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; }
.mine-track li.on + li.on::after, .mine-track li.on::after { background: #7a4dff; }
.mine-track li:not(.on)::after { background: #e6e8f5; }
.mine-files { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #d8dbef; }
.mine-files b { width: 100%; color: #137a32; }
.mine-files .btn { text-decoration: none; }
.mine-empty { background: #fff; border-radius: 16px; padding: 24px; text-align: center; border: 1px dashed #d8dbef; }
.mine-find { background: #fff; border: 1px solid #e3e5f7; border-radius: 14px; padding: 12px 16px; margin-top: 8px; }
.mine-find summary { cursor: pointer; font-weight: 700; color: #3b2fc9; }
.mine-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: #ff3b4a; color: #fff; font-size: 11px; margin-left: 2px; }
.mine-count[hidden], .mine-dot[hidden] { display: none !important; }
.m-bottom a.m-mine { position: relative; }
.mine-dot { position: absolute; top: -2px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: #ff3b4a; border: 2px solid #fff; }
.accepted a { color: #3b2fc9; }
@media (max-width: 720px) {
  body.site .mine { margin: 0; padding: 12px 10px 24px; }
  body.site:has(#mine:not([hidden])) .m-bottom { display: flex; }
}

/* --- AI holati --- */
.ai-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 9px; }
.ai-line.wait { background: #e3efff; color: #1f5fc8; }
.ai-line.ok { background: #e2f7e8; color: #137a32; }
.ai-line.err { background: #fff0f1; color: #c81f33; }
.ai-line.warn { background: #fff4dc; color: #8a5a00; }
.ai-line .dmini { margin-left: auto; }
.dresult.photo { object-fit: cover; width: 110px; height: 140px; }
.aghost.ai-on { border-color: #b9ebc7; background: #e2f7e8; color: #137a32; }

/* --- Ekranlar orasida o'tish animatsiyasi --- */
@keyframes navFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes navBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.nav-fwd { animation: navFwd .22s ease-out; }
.nav-back { animation: navBack .22s ease-out; }
@media (prefers-reduced-motion: reduce) { .nav-fwd, .nav-back { animation: none; } }

/* --- Xizmatlar sahifasi --- */
body.site .svcpage { max-width: 1040px; margin: 1.2rem auto 0; padding: 0 16px 28px; font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.sp-head { display: flex; align-items: center; gap: 14px; }
.sp-head h1 { margin: 0; font-size: 26px; font-weight: 800; }
.sp-head .hint { margin: 2px 0 0; }
.sp-back { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid #e0e2f4; background: #fff; font-size: 18px; font-weight: 700; color: #1b1d4a; cursor: pointer; }
.sp-search { display: flex; align-items: center; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(40, 30, 120, .1); padding: 0 14px; color: #3b2fc9; margin-top: 16px; }
.sp-search input { border: 0 !important; outline: 0 !important; margin: 0; padding: 13px 0; font-size: 15px; background: transparent; }
.sp-tabs { display: flex; gap: 8px; margin: 14px 0; overflow-x: auto; scrollbar-width: none; }
.sp-tabs button { flex: none; height: 36px; padding: 0 16px; border-radius: 10px; border: 1px solid #e0e2f4; background: #fff; color: #1b1d4a; font: 600 13px Inter, sans-serif; cursor: pointer; }
.sp-tabs button.on { background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; border-color: transparent; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sp-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #e3e5f7; border-radius: 16px; padding: 0; overflow: hidden; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 4px 14px rgba(40, 30, 120, .06); transition: transform .12s, box-shadow .12s; }
.sp-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(91, 61, 245, .14); border-color: #cfc6ff; }
.sp-img { height: 120px; display: grid; place-items: center; background: linear-gradient(180deg, #f6f7ff, #e9ebff); }
.sp-img img { max-height: 96px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.sp-ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: #3b2fc9; box-shadow: 0 4px 12px rgba(40,30,120,.1); }
.sp-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.sp-body b { font-size: 15.5px; font-weight: 800; line-height: 1.2; }
.sp-body small { font-size: 12.5px; color: #4a4d75; line-height: 1.35; flex: 1; }
.sp-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.sp-foot em { font-style: normal; font-weight: 800; color: #3b2fc9; font-size: 14px; }
.sp-foot em.free { color: #6b6f99; font-weight: 600; font-size: 12.5px; }
.sp-ai { font-style: normal; font-size: 11px; font-weight: 700; background: #e3efff; color: #1f5fc8; border-radius: 6px; padding: 2px 6px; }
.sp-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7a4dff, #5b2fe8); border-radius: 9px; padding: 6px 10px; }
#homeBoard .m-all { display: none; }
@media (max-width: 980px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 720px) {
  body.site .svcpage { margin: 0; padding: 12px 12px 24px; }
  .sp-head h1 { font-size: 22px; }
  .sp-grid { grid-template-columns: 1fr; gap: 10px; }
  .sp-card { flex-direction: row; align-items: center; border-radius: 14px; }
  .sp-img { width: 84px; height: auto; align-self: stretch; flex: none; }
  .sp-img img { max-height: 54px; max-width: 70px; }
  .sp-ico { width: 46px; height: 46px; border-radius: 12px; }
  .sp-body { padding: 10px 12px; }
  .sp-body b { font-size: 14.5px; }
  .sp-body small { font-size: 12px; }
  .sp-foot { margin-top: 4px; }
  .sp-go { padding: 5px 8px; }
  body.site:has(#svcPage:not([hidden])) .m-bottom { display: flex; }

  /* Bosh sahifa (telefon): ommabop xizmatlar, telefon bo'limi, qanday ishlaydi */
  .m-tools { display: none !important; }
  #homeBoard .board-hero + div { display: flex !important; padding: 18px 14px 0 !important; }
  #homeBoard .board-hero + div > div:first-child { width: 34px !important; height: 34px !important; }
  #homeBoard .board-hero + div > div:last-child > div:first-child { font-size: 18px !important; }
  #svcGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; padding: 12px !important; }
  #homeBoard #svcGrid .svc { flex-direction: column !important; align-items: flex-start !important; min-height: 128px !important; padding: 10px !important; background: linear-gradient(180deg, #f6f7ff, #e9ebff) !important; border: 1px solid #dde0fb !important; }
  #homeBoard #svcGrid .svc img { width: 100% !important; height: 56px !important; object-fit: contain !important; }
  #homeBoard #svcGrid .svc b { margin-top: 8px !important; font-size: 13.5px !important; line-height: 1.15; }
  #homeBoard #svcGrid .svc small { display: none !important; }
  #homeBoard #svcGrid .svc::after { content: "→" !important; border: 0 !important; transform: none !important; width: auto !important; height: auto !important; top: auto !important; right: 10px !important; bottom: 8px !important; color: #5b3df5; font-weight: 800; }
  #homeBoard #svcGrid .svc:nth-child(n+5) { display: none !important; }
  #homeBoard #svcGrid .svc-price { position: static !important; margin: 4px 0 0 !important; }
  #homeBoard .m-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 12px 0; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; font-weight: 800; font-size: 14.5px; text-decoration: none; box-shadow: 0 8px 18px rgba(91,47,232,.3); }
  #homeBoard #telefonBanner { display: block !important; margin: 14px 12px 0 !important; padding: 14px 14px 14px 118px !important; min-height: 110px; border-radius: 14px !important; }
  #homeBoard #telefonBanner > img { position: absolute !important; left: -10px !important; top: 0 !important; height: 100% !important; mask-image: linear-gradient(90deg, #000 70%, transparent) !important; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent) !important; }
  #homeBoard #telefonBanner .banner-copy > div:first-child { font-size: 16px !important; white-space: normal !important; }
  #homeBoard > div:has(> .how-row) { display: block !important; margin: 14px 12px 16px !important; padding: 14px !important; background: #fff !important; border: 1px solid #eceefb; }
  #homeBoard .how-row { display: grid !important; grid-template-columns: 1fr; gap: 12px !important; }
  #homeBoard .how-chev { display: none !important; }
  #homeBoard .how-num { width: 34px !important; height: 34px !important; font-size: 15px !important; }
}

#siteTop .topbar > a span { white-space: nowrap; }
#siteTop .topbar nav { gap: 13px !important; margin-left: 18px !important; }
#siteTop .topbar nav > span { display: none; } /* "Biz haqimizda" — hali sahifasi yo'q */
@media (max-width: 720px) { #homeBoard #telefonBanner { padding-left: 128px !important; } }

/* --- Umumiy yuqori menyu (hamma sahifada) --- */
#siteTop { width: 960px; max-width: calc(100% - 24px); margin: 16px auto 0; position: sticky; top: 0; z-index: 15; font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; box-shadow: 0 6px 18px rgba(40, 30, 120, .06); }
#siteTop + #homeBoard { margin-top: 0; }
#siteTop nav a { color: inherit; text-decoration: none; position: relative; padding: 6px 0; }
#siteTop nav a:hover { color: #3b2fc9; }
#siteTop nav a.on { color: #3b2fc9; }
#siteTop nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px; border-radius: 2px; background: #5b3df5; }
body.site .svcpage, body.site .mine, body.site #work { margin-top: 1.2rem; }
@media (max-width: 720px) {
  #siteTop { width: 100%; max-width: none; margin: 0; }
}
@media (min-width: 721px) { body.site .svcpage { max-width: 992px; } }

/* --- Xizmat ichki sahifasi: yo'l, banner, qadamlar (dizayn bo'yicha) --- */
body.site #work { max-width: 860px; font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #4a4d75; margin: 4px 2px 12px; }
.crumbs a { color: #4a4d75; text-decoration: none; display: inline-flex; align-items: center; }
.crumbs a:hover { color: #3b2fc9; }
.crumbs > span { color: #9a9dbb; }
.crumbs b { color: #3b2fc9; font-weight: 700; }
.whero { position: relative; display: flex; align-items: center; gap: 18px; min-height: 128px; padding: 20px 22px; border-radius: 18px; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, #2a2bb8 0%, #4b2fe0 45%, #7a3ff0 100%); box-shadow: 0 12px 28px rgba(75, 47, 224, .25); }
.whero-ico { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); }
.whero-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.whero h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.3px; color: #fff; }
.whero p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: #e6e6ff; max-width: 440px; }
.whero .work-price { display: inline-block; margin: 10px 0 0; background: #ffd21f; color: #1b1d4a; font-size: 13px; }
.whero-img { flex: none; width: 150px; height: 104px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); border-radius: 14px; }
.whero-img img { max-width: 86%; max-height: 86%; object-fit: contain; }
.whero.photo .whero-img { width: 300px; height: 150px; background: none; border-radius: 0; margin: -20px -22px -20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.whero.photo .whero-img img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.whero:not(.photo) .whero-img:empty { display: none; }

.sflow { list-style: none; display: flex; align-items: center; gap: 6px; margin: 16px 0 6px; padding: 0; }
.sflow li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid #e3e5f7; background: #fff; font-size: 12.5px; font-weight: 600; color: #4a4d75; }
.sflow li + li::before { content: "→"; color: #9a9dbb; margin: 0 2px 0 -2px; display: none; }
.sflow li b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #c9ccea; color: #1b1d4a; font-size: 13px; background: #fff; }
.sflow li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sflow li.on { border-color: #b9b0ff; background: #f3f0ff; color: #3b2fc9; }
.sflow li.on b { background: linear-gradient(135deg, #7a4dff, #5b2fe8); border-color: transparent; color: #fff; }
.sflow li.done b { background: #e2f7e8; border-color: #b9ebc7; color: #137a32; }
.sflow li.done b::after { content: ""; }

.sstep { background: #fff; border: 1px solid #e8e9f7; border-radius: 18px; padding: 18px 20px 20px; box-shadow: 0 8px 22px rgba(40, 30, 120, .05); }
.sfield { margin-top: 18px; }
.slabel { font-size: 14px; font-weight: 700; color: #1b1d4a; margin-bottom: 8px; }
.slabel i { font-style: normal; color: #e53950; }
.slabel span { font-weight: 500; color: #6b6f99; }
.stitle { margin: 0 0 4px; font-size: 18px; }
#sPhoneSlot .contact-box { background: none; border: 0; padding: 0; margin: 0; }
.contact-box .slabel { margin-bottom: 8px; }
.sphone { display: flex; align-items: stretch; border: 1px solid #d8dbef; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sphone:focus-within { border-color: #7a4dff; box-shadow: 0 0 0 3px #ece7ff; }
.sphone-ico { display: grid; place-items: center; width: 48px; color: #3b2fc9; border-right: 1px solid #e8e9f7; background: #faf9ff; }
.sphone-cc { display: grid; place-items: center; padding: 0 12px; font-weight: 700; border-right: 1px solid #e8e9f7; }
.sphone input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; margin: 0; padding: 13px 12px; font-size: 16px; font-weight: 600; letter-spacing: .3px; background: transparent; }
.sphone-ok { display: grid; place-items: center; width: 44px; color: #1fa845; font-weight: 900; font-size: 17px; }
.sphone-ok[hidden] { display: none; }
.sphone.ok { border-color: #b9ebc7; }
.contact-box .hint { margin: 6px 2px 0; font-size: 12px; }

.ssrc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ssrc button, .ssizes button { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid #d8dbef; background: #fff; border-radius: 12px; padding: 13px 14px; font: 600 14px Inter, sans-serif; color: #1b1d4a; cursor: pointer; text-align: left; transition: border-color .12s, background .12s; }
.ssrc button svg { color: #3b2fc9; flex: none; }
.ssrc button em, .ssizes button em { display: none; font-style: normal; }
.ssrc button.on { border: 1.5px solid #7a4dff; background: #f6f3ff; color: #3b2fc9; }
.ssrc button.on em { display: grid; place-items: center; margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #6a4dff; color: #fff; font-size: 12px; }
.ssizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ssizes button { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 6px 12px; text-align: center; font-size: 13px; }
.ssizes button i { display: block; border: 1.6px solid #3b2fc9; border-radius: 2px; }
.ssizes button.on { border: 1.5px solid #7a4dff; background: #f3f0ff; }
.ssizes button.on em { display: grid; place-items: center; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: #6a4dff; color: #fff; font-size: 12px; box-shadow: 0 2px 6px rgba(91,47,232,.35); }
.scount { display: inline-flex; align-items: center; border: 1px solid #d8dbef; border-radius: 12px; overflow: hidden; background: #fff; }
.scount button { width: 42px; height: 42px; border: 0; background: #f3f0ff; color: #3b2fc9; font-size: 22px; font-weight: 700; cursor: pointer; }
.scount button:disabled { color: #b9bcd8; background: #f6f6fb; cursor: default; }
.scount b { min-width: 84px; text-align: center; font-size: 15px; }
#sCountHint { margin: 6px 2px 0; font-size: 12px; }
.snote { position: relative; }
.snote textarea { border: 1px solid #d8dbef; border-radius: 12px; padding: 12px 14px 22px; font-size: 14px; resize: vertical; }
.snote span { position: absolute; right: 12px; bottom: 8px; font-size: 11.5px; color: #8c90b3; }
.snav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.snav .btn { min-width: 150px; border-radius: 12px; height: 48px; font-weight: 700; }
.snav .btn:not(.ghost) { background: linear-gradient(135deg, #7a4dff, #5b2fe8); border: 0; box-shadow: 0 8px 18px rgba(91,47,232,.3); }
#sUploadSlot .foto-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
#sUploadSlot .foto-actions .btn { border-radius: 12px; height: 46px; }
.spreview { margin-top: 12px; padding: 14px; background: #eef0f8; border-radius: 14px; display: grid; place-items: center; }
.spreview canvas { width: 100%; max-width: 560px; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 6px 18px rgba(40,30,120,.15); }
.ssum { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: 14px; }
.ssum dt { color: #4a4d75; }
.ssum dd { margin: 0; font-weight: 700; word-break: break-word; }
#work > .contact-box { margin-top: 14px; }

@media (max-width: 720px) {
  .crumbs { margin: 10px 2px; font-size: 12.5px; }
  .whero { padding: 16px; min-height: 0; gap: 12px; }
  .whero-ico { width: 48px; height: 48px; border-radius: 12px; }
  .whero-ico svg { width: 26px; height: 26px; }
  .whero h1 { font-size: 20px; }
  .whero p { font-size: 12.5px; }
  .whero-img { display: none !important; }
  .sflow { gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .sflow li { flex: none; padding: 4px 8px 4px 4px; font-size: 11.5px; }
  .sflow li:not(.on) span { display: none; }
  .sflow li:not(.on) { padding: 4px; }
  .sstep { padding: 14px; border-radius: 14px; }
  .ssizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ssrc button { padding: 12px 10px; font-size: 13px; }
  .snav .btn { min-width: 0; flex: 1; }
}
.dnote { color: #8a3b00; background: #fff4dc; border-radius: 6px; padding: 2px 8px; }
/* Tanlangan tugmalarda belgi (✓) kerak emas — chegara va fon yetarli */
.ssrc button.on em, .ssizes button.on em { display: none !important; }
.mine-find[hidden] { display: none !important; }

.contact-box .slabel[hidden], .contact-box .sphone[hidden] { display: none !important; }
.contact-box .ready-note { margin: 0; padding: 10px 14px; background: #f3f0ff; border: 1px solid #e3dcff; border-radius: 12px; color: #3b2fc9; font-size: 13px; font-weight: 600; }

/* Surat ostidagi "Qayta tushish" / "O'chirish" */
.photo-tools { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.photo-tools .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; height: 44px; padding: 0 18px; font-weight: 700; }
.photo-tools .btn.danger { color: #c81f33; border-color: #ffd0d5; background: #fff6f7; }
.foto-actions[hidden] { display: none !important; }
@media (max-width: 720px) { .photo-tools .btn { flex: 1; justify-content: center; padding: 0 10px; } }
#photoDelete[hidden] { display: none !important; }

/* ===== Kompyuter ekrani: sayt butun kenglikni egallaydi (telefon ko'rinishiga tegmaydi) ===== */
@media (min-width: 721px) {
  :root { --page-pad: clamp(16px, 3vw, 56px); }
  #siteTop { width: auto !important; max-width: none !important; margin: 0 !important; box-shadow: 0 4px 16px rgba(40, 30, 120, .08); }
  #siteTop .topbar { height: 68px !important; padding: 0 var(--page-pad) !important; }
  #siteTop .topbar nav { font-size: 13.5px !important; gap: 26px !important; margin-left: 40px !important; }
  #homeBoard { width: auto !important; max-width: none !important; margin: 0 0 28px !important; background: transparent !important; }

  /* Banner */
  #homeBoard .board-hero { height: clamp(300px, 24vw, 460px) !important; margin: 0 !important; }
  #homeBoard .hero-copy { left: var(--page-pad) !important; top: 50% !important; transform: translateY(-50%); width: min(560px, 42vw) !important; }
  #homeBoard .htitle { font-size: clamp(33px, 2.9vw, 54px) !important; }
  #homeBoard .hero-copy > div:nth-child(2) { font-size: clamp(25px, 2.1vw, 40px) !important; }
  #homeBoard .hero-copy > div:nth-child(3) { font-size: clamp(13px, 1vw, 17px) !important; max-width: 520px; }
  #homeBoard .hero-feats { font-size: clamp(10.5px, .8vw, 14px); gap: clamp(20px, 2vw, 36px); }
  #homeBoard .hero-feats svg { width: clamp(22px, 1.7vw, 30px); height: clamp(22px, 1.7vw, 30px); }
  #homeBoard .hero-copy > a { height: clamp(36px, 2.8vw, 50px) !important; font-size: clamp(13.5px, 1vw, 17px) !important; padding: 0 clamp(22px, 1.8vw, 32px) !important; }
  #homeBoard .hero-img { left: auto !important; right: var(--page-pad) !important; height: 100% !important; width: auto !important; max-width: 58vw; object-fit: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%) !important; mask-image: linear-gradient(90deg, transparent 0, #000 12%) !important; }

  /* "Xizmatlarimiz" va kartochkalar */
  #homeBoard .board-hero + div { padding: 28px var(--page-pad) 0 !important; }
  #svcGrid { padding: 16px var(--page-pad) 0 !important; gap: clamp(10px, 1vw, 20px) !important; }
  #homeBoard .svc { height: clamp(154px, 11vw, 210px); padding: 12px 14px; }
  #homeBoard .svc img { height: clamp(62px, 5vw, 96px); }
  #homeBoard .svc b { font-size: clamp(14px, 1.05vw, 18px); }
  #homeBoard .svc small { font-size: clamp(10px, .75vw, 13px); }

  /* Telefon bo'limi va "Qanday ishlaydi" */
  #telefonBanner { margin: 22px var(--page-pad) 0 !important; height: clamp(112px, 8vw, 150px) !important; }
  #telefonBanner > img { height: 100% !important; }
  #telefonBanner .banner-copy { margin-left: clamp(138px, 11vw, 200px) !important; width: auto !important; max-width: 420px; }
  #telefonBanner .banner-icons { margin-right: 24px !important; gap: clamp(10px, 1.6vw, 28px) !important; }
  #homeBoard > div:has(> .how-row) { margin: 18px var(--page-pad) 12px !important; padding: 16px 28px !important; }
  .accepted { margin: 12px var(--page-pad) 0; }

  /* Boshqa sahifalar ham kengroq */
  body.site main { max-width: none; }
  body.site .svcpage { max-width: none !important; padding: 0 var(--page-pad) 32px !important; }
  .sp-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
  body.site .mine { max-width: 1100px; padding: 0 var(--page-pad); }
  body.site #work { max-width: 1100px; padding: 0 var(--page-pad); }
}

/* --- To'lov cheki (Telegram) --- */
.mine-pay { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; background: #eef7ff; border: 1px solid #cfe6fb; border-radius: 12px; font-size: 13px; color: #1b3a5c; }
.mine-pay span { flex: 1; min-width: 200px; line-height: 1.4; }
.tg-btn { display: inline-flex !important; align-items: center; gap: 8px; background: #2aa3ef !important; border: 0 !important; color: #fff !important; text-decoration: none; border-radius: 10px; height: 40px; padding: 0 16px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 14px rgba(42,163,239,.3); }
.tg-btn:hover { background: #1b8fd8 !important; }
.check-pay { margin-top: 16px; }
.acc-pay { display: block; margin-top: 6px; font-weight: 600; color: #1b3a5c; }
.acc-pay a { color: #1b8fd8; }
@media (max-width: 720px) { .mine-pay .tg-btn { width: 100%; justify-content: center; } }

/* --- To'lov bloki: karta raqami, nusxalash, QR --- */
.paybox { display: flex; gap: 16px; align-items: stretch; margin-top: 12px; padding: 14px 16px; background: #f2fbf5; border: 1px solid #c9ecd5; border-radius: 14px; color: #12351f; }
.paybox-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.paybox-title { font-size: 14px; font-weight: 700; }
.paybox-title b { color: #137a32; }
.paybox-label { font-size: 12px; color: #4a6b56; margin-top: 4px; }
.paybox-card { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.paybox-card span { font-size: 22px; font-weight: 800; letter-spacing: .5px; color: #14a04a; font-variant-numeric: tabular-nums; }
.paybox-copy { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid #a8dcb9; background: #fff; color: #137a32; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.paybox-owner { font-size: 12.5px; font-weight: 600; letter-spacing: .3px; color: #2c4a37; }
.paybox-hint { margin: 6px 0 8px; font-size: 12.5px; line-height: 1.45; color: #2c4a37; }
.paybox .tg-btn { align-self: flex-start; }
.paybox-qr { flex: none; width: 150px; border: 1px solid #c9ecd5; background: #fff; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: zoom-in; font: 600 11.5px Inter, sans-serif; color: #4a6b56; }
.paybox-qr img { width: 100%; height: auto; display: block; }
.qr-modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 18, 50, .6); display: grid; place-items: center; padding: 16px; }
.qr-modal > div { background: #fff; border-radius: 18px; padding: 18px; width: min(420px, 100%); text-align: center; }
.qr-modal img { width: 100%; height: auto; }
.qr-modal p { margin: 8px 0 12px; font-size: 20px; font-weight: 800; color: #14a04a; }
.qr-modal small { font-size: 12px; color: #2c4a37; font-weight: 600; }
@media (max-width: 720px) {
  .paybox { flex-direction: column; } /* telefonda avval karta raqami, keyin QR */
  .paybox-qr { width: 100%; max-width: 220px; align-self: center; }
  .paybox .tg-btn { align-self: stretch; justify-content: center; }
  .paybox-card span { font-size: 20px; }
}

/* ===================== Profil ===================== */
body.site .profil { max-width: 760px; margin: 1.2rem auto 0; padding: 0 16px 32px; font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.pf-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 20px 54px; border-radius: 20px; color: #fff; overflow: hidden;
  background: linear-gradient(110deg, #2a2bb8 0%, #4b2fe0 50%, #8a4dff 100%); box-shadow: 0 12px 28px rgba(75, 47, 224, .25); }
.pf-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.pf-avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #4b2fe0; font-size: 26px; font-weight: 800; border: 3px solid rgba(255,255,255,.6); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.pf-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.pf-who b { font-size: 22px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-who span { font-size: 14px; color: #e6e6ff; }
.pf-edit { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.92); color: #3b2fc9; font: 700 13px Inter, sans-serif; cursor: pointer; }
.pf-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: -38px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 10px 26px rgba(40,30,120,.12); border: 1px solid #eceefb; }
.pf-stats div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 4px; color: #3b2fc9; }
.pf-stats div + div { border-left: 1px solid #eceefb; }
.pf-stats svg { width: 24px; height: 24px; }
.pf-stats .s-work { color: #7a4dff; } .pf-stats .s-ready { color: #1fa845; } .pf-stats .s-fav { color: #e53950; }
.pf-stats b { font-size: 18px; font-weight: 800; color: #1b1d4a; }
.pf-stats span { font-size: 12px; font-weight: 600; color: #4a4d75; }
.pf-menu { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.pf-menu button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 40px 12px 12px; border: 1px solid #eceefb; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 2px 8px rgba(40,30,120,.04); }
.pf-menu button::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid #1b1d4a; border-width: 2.2px 2.2px 0 0; transform: translateY(-50%) rotate(45deg); }
.pf-menu button:hover { border-color: #cfc6ff; }
.pf-menu i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #f1eeff; color: #4b2fe0; }
.pf-menu i svg { width: 24px; height: 24px; }
.pf-menu span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-menu b { font-size: 15px; font-weight: 700; }
.pf-menu small { font-size: 12.5px; color: #4a4d75; }
.pf-badge { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e53950; color: #fff; font: 800 12px/22px Inter, sans-serif; text-align: center; font-style: normal; }
.pf-badge[hidden] { display: none; }
.pf-logout { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 16px; height: 52px; border-radius: 14px; border: 1px solid #ffc9d0; background: #fff4f5; color: #d42a40; font: 700 15px Inter, sans-serif; cursor: pointer; }
.pf-note { text-align: center; font-size: 12px; color: #6b6f99; margin: 10px 0 0; }
.pf-sub { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pf-sub h2 { margin: 0; font-size: 20px; }
.pf-card { background: #fff; border: 1px solid #eceefb; border-radius: 16px; padding: 16px; box-shadow: 0 4px 14px rgba(40,30,120,.05); display: flex; flex-direction: column; gap: 12px; }
.pf-card label { font-weight: 600; font-size: 14px; }
.pf-card input, .pf-card textarea { border: 1px solid #d8dbef; border-radius: 12px; }
.pf-card .btn { border-radius: 12px; height: 46px; font-weight: 700; }
.pf-card .btn:not(.ghost):not(.tg-btn) { background: linear-gradient(135deg, #7a4dff, #5b2fe8); border: 0; }
.pf-card hr { border: 0; border-top: 1px solid #eceefb; margin: 2px 0; width: 100%; }
.pf-addr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #f8f8fe; border-radius: 10px; font-size: 14px; }
.pf-payrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f1fa; }
.pf-payrow:last-child { border-bottom: 0; }
.pf-payrow span { display: flex; flex-direction: column; gap: 2px; }
.pf-payrow small { color: #6b6f99; font-size: 12px; }
.pf-payamt { align-items: flex-end; }
.pf-payamt em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.pf-payamt em.ok { background: #c9f2d4; color: #137a32; } .pf-payamt em.wait { background: #ffe9a8; color: #8a5a00; }
.pf-msg { display: flex; gap: 12px; align-items: flex-start; padding: 10px 8px; border-radius: 10px; }
.pf-msg.new { background: #f3f0ff; }
.pf-msg-ico { font-size: 20px; line-height: 1; }
.pf-msg span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pf-msg b { font-size: 14px; font-weight: 600; }
.pf-msg small { font-size: 12px; color: #6b6f99; }
.pf-faq details { border-bottom: 1px solid #eceefb; padding: 8px 0; }
.pf-faq summary { cursor: pointer; font-weight: 700; font-size: 14.5px; }
.pf-faq p { margin: 8px 0 4px; font-size: 13.5px; color: #3a3d66; line-height: 1.5; }
.pf-faq .tg-btn { align-self: flex-start; }
.pf-switch { display: flex !important; align-items: center; gap: 12px; cursor: pointer; }
.pf-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.pf-switch span { flex: none; width: 46px; height: 26px; border-radius: 13px; background: #d6d8ea; position: relative; transition: background .15s; }
.pf-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pf-switch input:checked + span { background: #1fa845; }
.pf-switch input:checked + span::after { transform: translateX(20px); }
.pf-row { display: flex; justify-content: space-between; }
.pf-row span { display: flex; flex-direction: column; } .pf-row small { color: #6b6f99; }
/* Sevimli (♡) belgisi xizmat kartochkasida */
.sp-card { position: relative; }
.sp-fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: #9a9dbb; font-size: 18px; line-height: 1; box-shadow: 0 2px 8px rgba(40,30,120,.15); cursor: pointer; z-index: 2; }
.sp-fav.on { color: #e53950; }
@media (max-width: 720px) {
  body.site .profil { margin: 0; padding: 12px 12px 24px; }
  .pf-head { padding: 18px 14px 50px; gap: 12px; border-radius: 18px; }
  .pf-avatar { width: 60px; height: 60px; font-size: 22px; }
  .pf-who b { font-size: 18px; }
  .pf-who span { font-size: 13px; }
  .pf-edit { padding: 0 10px; font-size: 12px; }
  .pf-stats { margin: -36px 6px 0; }
  .pf-stats b { font-size: 16px; } .pf-stats span { font-size: 11px; }
  .sp-fav { top: 50%; transform: translateY(-50%); right: 44px; width: 30px; height: 30px; font-size: 16px; }
}
@media (max-width: 720px) { body.site:has(#profil:not([hidden])) .m-bottom { display: flex; } }
@media (min-width: 721px) { body.site .profil { padding: 0 var(--page-pad, 16px) 32px; } }
@media (max-width: 720px) {
  .pf-who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-edit { width: 38px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .pf-edit svg { width: 18px; height: 18px; }
}

/* Profil rasmi */
.pf-avatar { overflow: hidden; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-photo { display: flex; align-items: center; gap: 16px; padding-bottom: 4px; }
.pf-avatar.big { width: 88px; height: 88px; font-size: 30px; border: 3px solid #e3dcff; box-shadow: 0 6px 16px rgba(75,47,224,.18); }
.pf-photo-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pf-photo-btns .btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; font-weight: 700; }
#pfPhotoDel[hidden] { display: none; }
.pf-photo-btns .btn { white-space: nowrap; }
/* Telefondagi yuqori o'ng burchakdagi 3 chiziq (menyu belgisi) kerak emas */
@media (max-width: 720px) { #siteTop .topbar > div:last-child::after { content: none !important; display: none !important; } }
/* Dumaloq rasm bosiladigan: kichik kamera belgisi */
#pfAvatar, #pfEditAvatar { position: relative; cursor: pointer; overflow: visible; }
#pfAvatar img, #pfEditAvatar img { border-radius: 50%; }
#pfAvatar::after, #pfEditAvatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff;
  background: #6a4dff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='13' r='3.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
/* Rasm burchagidagi kichik kamera dumalog'i kerak emas */
#pfAvatar::after, #pfEditAvatar::after { content: none !important; display: none !important; }
.pf-who { cursor: pointer; }
.pf-photo[hidden] { display: none !important; }

/* Admin: tayyor faylni PC dan yuklash */
.dupload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e0e2f4; }
.dupload { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #b9b0ff; background: #f3f0ff; color: #3b2fc9; font: 700 13px Inter, sans-serif; cursor: pointer; }
.dupload svg { width: 18px; height: 18px; }
.dupload:hover { background: #ebe5ff; }
.dupload-note { font-size: 12px; color: #4a4d75; }

/* Admin: mijoz rasmi va ismi */
.davatar { overflow: hidden; }
.davatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tclient { display: inline-flex; align-items: center; gap: 8px; }
.tava { width: 28px; height: 28px; flex: none; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #efe9ff; color: #5b3df5; font-size: 11px; font-weight: 800; }

/* Kompyuter: yuqori o'ng burchakdagi profil */
.top-prof { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid #e3e5f7; background: #fff; color: #1b1d4a; text-decoration: none; font: 700 13px Inter, sans-serif; transition: border-color .15s, box-shadow .15s; }
.top-prof:hover, .top-prof.on { border-color: #b9b0ff; box-shadow: 0 4px 12px rgba(91, 61, 245, .15); }
.top-prof.on { background: #f3f0ff; color: #3b2fc9; }
.top-ava { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.top-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.top-name { max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .top-prof { display: none !important; } }

/* ===== Profil: kompyuterda butun ekran (telefon ko'rinishiga tegmaydi) ===== */
@media (min-width: 721px) {
  body.site .profil { max-width: none !important; margin: 0 !important; padding: 24px var(--page-pad, 32px) 40px !important; }
  .pf-head { padding: 34px 40px 74px; gap: 24px; border-radius: 24px; }
  .pf-head::after { width: 420px; height: 420px; right: -120px; top: -180px; }
  .pf-avatar { width: 104px; height: 104px; font-size: 36px; }
  .pf-who b { font-size: 30px; }
  .pf-who span { font-size: 16px; }
  .pf-edit { height: 44px; padding: 0 20px; font-size: 14px; }
  .pf-stats { margin: -46px 40px 0; border-radius: 20px; }
  .pf-stats div { flex-direction: row; justify-content: center; gap: 14px; padding: 22px 12px; }
  .pf-stats svg { width: 34px; height: 34px; }
  .pf-stats b { font-size: 28px; order: 2; }
  .pf-stats span { font-size: 14px; order: 3; }
  .pf-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-top: 28px; }
  .pf-menu button { padding: 20px 48px 20px 18px; border-radius: 18px; min-height: 92px; }
  .pf-menu button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(91, 61, 245, .12); }
  .pf-menu i { width: 54px; height: 54px; border-radius: 14px; }
  .pf-menu i svg { width: 28px; height: 28px; }
  .pf-menu b { font-size: 16.5px; }
  .pf-menu small { font-size: 13.5px; }
  .pf-logout { width: auto; display: inline-flex; padding: 0 28px; margin-top: 24px; }
  .pf-note { text-align: left; font-size: 13px; }
  .pf-sub h2 { font-size: 26px; }
  .pf-card { padding: 24px; border-radius: 20px; }
  .profil [data-pf="edit"] .pf-card, .profil [data-pf="addr"] .pf-card, .profil [data-pf="settings"] .pf-card { max-width: 720px; }
  .pf-faq { max-width: 960px; }
  #pfPayList .pf-card, #pfMsgList .pf-card { max-width: none; }
}

/* Telefonning pastki menyusi kompyuterda hech qachon ko'rinmaydi */
@media (min-width: 721px) { .m-bottom { display: none !important; } }

/* ===================== Profil: kompyuter dizayni (3 ustun) ===================== */
.pf-side, .pf-dash { display: none; }
#siteTop nav .nv { width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }
.top-bell { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #e3e5f7; background: #fff; color: #1b1d4a; }
.top-bell svg { width: 20px; height: 20px; }
.top-bell b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e53950; color: #fff; font: 800 11px/18px Inter, sans-serif; text-align: center; border: 2px solid #fff; }
.top-bell b[hidden] { display: none; }
.top-chev { width: 16px; height: 16px; }
@media (max-width: 720px) { .top-bell { display: none !important; } #siteTop nav .nv { display: none; } }

@media (min-width: 1000px) {
  #siteTop .topbar nav { font-size: 14px !important; gap: 28px !important; }
  .top-prof { height: 44px; padding: 0 12px 0 5px; background: linear-gradient(135deg, #3b2fc9, #6a4dff); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(75, 47, 224, .3); }
  .top-prof .top-ava { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.7); }
  .top-prof.on { background: linear-gradient(135deg, #2a2bb8, #5b3df5); color: #fff; }

  body.site .profil:not([hidden]) { display: grid !important; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
  .pf-side { display: flex; flex-direction: column; position: sticky; top: 86px; background: linear-gradient(180deg, #1a1c5a 0%, #141648 100%); color: #fff; border-radius: 22px; padding: 26px 16px 18px; box-shadow: 0 16px 34px rgba(20, 22, 72, .3); min-height: calc(100vh - 130px); }
  .pfs-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 18px; }
  .pfs-ava { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; color: #4b2fe0; font-size: 36px; font-weight: 800; border: 4px solid #6a4dff; box-shadow: 0 0 0 4px rgba(106,77,255,.25); cursor: pointer; margin-bottom: 8px; }
  .pfs-ava img { width: 100%; height: 100%; object-fit: cover; }
  .pfs-top b { font-size: 21px; font-weight: 800; }
  .pfs-top > span { font-size: 15px; color: #d7d9ff; min-height: 18px; }
  .pfs-badge { font-style: normal; margin-top: 6px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(135deg, #6a4dff, #8a5bff); font-size: 13px; font-weight: 700; }
  .pfs-menu { display: flex; flex-direction: column; gap: 4px; }
  .pfs-menu button, .pfs-logout { display: flex; align-items: center; gap: 14px; width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: #e6e8ff; font: 600 14.5px Inter, sans-serif; text-align: left; cursor: pointer; }
  .pfs-menu button svg, .pfs-logout svg { width: 22px; height: 22px; flex: none; color: #b9b0ff; }
  .pfs-menu button small { font-weight: 500; opacity: .8; margin-left: -8px; }
  .pfs-menu button:hover { background: rgba(255,255,255,.08); }
  .pfs-menu button.on { background: linear-gradient(135deg, #6a4dff, #8a5bff); color: #fff; box-shadow: 0 8px 18px rgba(106,77,255,.35); }
  .pfs-menu button.on svg { color: #fff; }
  .pfs-count { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; background: #e53950; color: #fff; font: 800 12px/22px Inter, sans-serif; text-align: center; font-style: normal; }
  .pfs-count[hidden] { display: none; }
  .pfs-logout { margin-top: auto; color: #ffb3bd; }
  .pfs-logout svg { color: #ff8a9a; }

  /* asosiy panel: telefon ko'rinishini yashiramiz, dashboard ko'rsatamiz */
  .profil [data-pf="main"] > .pf-head, .profil [data-pf="main"] > .pf-stats, .profil [data-pf="main"] > .pf-menu,
  .profil [data-pf="main"] > .pf-logout, .profil [data-pf="main"] > .pf-note { display: none !important; }
  .pf-dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
  .pfd-center, .pfd-right { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .pfd-hello { position: relative; display: flex; align-items: center; min-height: 160px; padding: 26px 30px; border-radius: 22px; overflow: hidden; color: #fff; background: linear-gradient(110deg, #2a2bb8 0%, #4b2fe0 48%, #8a4dff 100%); box-shadow: 0 14px 30px rgba(75,47,224,.25); }
  .pfd-hello > div { position: relative; z-index: 1; max-width: 56%; }
  .pfd-hello h2 { margin: 0 0 8px; font-size: 30px; font-weight: 800; letter-spacing: -.3px; }
  .pfd-hello p { margin: 0; font-size: 15px; line-height: 1.5; color: #e6e6ff; }
  .pfd-hello img { position: absolute; right: 0; top: 0; height: 100%; width: 48%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
  .pfd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .pfd-stats > div { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border-radius: 18px; border: 1px solid #eceefb; box-shadow: 0 6px 16px rgba(40,30,120,.06); }
  .pfd-stats i { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; }
  .pfd-stats i svg { width: 26px; height: 26px; }
  .pfd-stats .c1 { background: #f1eeff; color: #6a4dff; } .pfd-stats .c2 { background: #e5efff; color: #2f6fe0; }
  .pfd-stats .c3 { background: #e2f7e8; color: #1fa845; } .pfd-stats .c4 { background: #ffe9ee; color: #e53950; }
  .pfd-stats span { display: flex; flex-direction: column; font-size: 14px; color: #3a3d66; font-weight: 600; }
  .pfd-stats b { font-size: 28px; font-weight: 800; color: #1b1d4a; line-height: 1.1; }
  .pfd-box { background: #fff; border: 1px solid #eceefb; border-radius: 20px; padding: 18px 20px; box-shadow: 0 6px 18px rgba(40,30,120,.06); }
  .pfd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
  .pfd-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 800; }
  .pfd-head h3 svg { width: 24px; height: 24px; color: #6a4dff; }
  .pfd-head a, .pfd-link { color: #3b2fc9; font: 700 13.5px Inter, sans-serif; text-decoration: none; background: none; border: 0; cursor: pointer; }
  .pfd-pen { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e3dcff; background: #f6f3ff; color: #5b3df5; display: grid; place-items: center; cursor: pointer; }
  .pfd-pen svg { width: 18px; height: 18px; }
  .pfd-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .pfd-q { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 12px 14px; border: 1px solid #e3e5f7; border-radius: 16px; background: linear-gradient(180deg, #fbfbff, #f2f3ff); cursor: pointer; text-align: left; font: inherit; color: #1b1d4a; text-decoration: none; min-height: 140px; transition: transform .12s, box-shadow .12s, border-color .12s; }
  .pfd-q:hover { transform: translateY(-2px); border-color: #b9b0ff; box-shadow: 0 10px 22px rgba(91,61,245,.14); }
  .pfd-q:first-child { border: 1.5px solid #8a6bff; }
  .pfd-qimg { width: 100%; height: 64px; display: grid; place-items: center; }
  .pfd-qimg img { max-height: 62px; max-width: 90%; object-fit: contain; mix-blend-mode: multiply; }
  .pfd-q b { font-size: 14px; line-height: 1.2; padding-right: 14px; }
  .pfd-q i { position: absolute; right: 10px; bottom: 12px; font-style: normal; font-size: 20px; color: #3b2fc9; font-weight: 700; }
  .pfd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .pfd-table th { text-align: left; font-size: 13px; color: #1b1d4a; font-weight: 700; padding: 10px 8px; background: #f7f7fd; }
  .pfd-table th:first-child { border-radius: 10px 0 0 10px; } .pfd-table th:last-child { border-radius: 0 10px 10px 0; }
  .pfd-table td { padding: 12px 8px; border-bottom: 1px solid #f1f1fa; vertical-align: middle; }
  .pfd-table tr:last-child td { border-bottom: 0; }
  .pfd-svc { display: flex; align-items: center; gap: 10px; }
  .pfd-simg { width: 44px; height: 40px; flex: none; display: grid; place-items: center; }
  .pfd-simg img { max-width: 44px; max-height: 40px; object-fit: contain; mix-blend-mode: multiply; }
  .pfd-simg .sp-ico { width: 38px; height: 38px; border-radius: 10px; }
  .pfd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
  .pfd-chip.ok { background: #e2f7e8; color: #137a32; } .pfd-chip.work { background: #fff2d6; color: #8a5a00; }
  .pfd-chip.new { background: #e5efff; color: #1f5fc8; } .pfd-chip.off { background: #eceef5; color: #5a5e80; }
  .pfd-act { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #cfc6ff; color: #3b2fc9; background: #fff; font: 700 13px Inter, sans-serif; text-decoration: none; white-space: nowrap; }
  .pfd-act svg { width: 16px; height: 16px; }
  .pfd-act.main { background: linear-gradient(135deg, #6a4dff, #5b2fe8); color: #fff; border: 0; box-shadow: 0 6px 14px rgba(91,47,232,.3); }
  .pfd-empty { padding: 26px; text-align: center; color: #6b6f99; background: #f8f8fe; border-radius: 14px; font-size: 14px; }
  .pfd-empty.small { padding: 16px; font-size: 13px; }
  .pfd-info { margin: 0; display: flex; flex-direction: column; }
  .pfd-info > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid #f1f1fa; font-size: 14px; }
  .pfd-info > div:last-child { border-bottom: 0; }
  .pfd-info dt { display: flex; align-items: center; gap: 10px; color: #3a3d66; }
  .pfd-info dt svg { width: 18px; height: 18px; color: #4b2fe0; flex: none; }
  .pfd-info dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 6px; word-break: break-word; }
  .pfd-ok { width: 18px; height: 18px; flex: none; }
  .pfd-fav { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #f1f1fa; cursor: pointer; }
  .pfd-fav:last-child { border-bottom: 0; }
  .pfd-fav b { flex: 1; font-size: 14.5px; }
  .pfd-heart { color: #e53950; font-size: 20px; cursor: pointer; padding: 2px 6px; }
  /* boshqa ichki sahifalar o'ng tomonda, chap menyu turadi */
  .profil .pf-panel:not([data-pf="main"]) .pf-sub .sp-back { display: none; }
}
@media (min-width: 1000px) and (max-width: 1350px) {
  .pf-dash { grid-template-columns: minmax(0, 1fr); }
  .pfd-right { display: grid; grid-template-columns: 1fr 1fr; }
  .pfd-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .pfd-right .pfd-head h3 { font-size: 17px; white-space: nowrap; }
  .pfd-head a, .pfd-link { white-space: nowrap; }
  .pfd-info > div { grid-template-columns: 112px 1fr; font-size: 13.5px; }
  .pfd-info dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; }
  .pfs-ava { color: #4b2fe0; background: #ece7ff; }
  .pfd-stats span { white-space: nowrap; }
}

/* ===== Profil: oldingi (butun ekranli kartochkalar) ko'rinishiga qaytarildi ===== */
@media (min-width: 1000px) {
  body.site .profil:not([hidden]) { display: block !important; }
  .pf-side, .pf-dash { display: none !important; }
  .profil [data-pf="main"] > .pf-head { display: flex !important; }
  .profil [data-pf="main"] > .pf-stats { display: grid !important; }
  .profil [data-pf="main"] > .pf-menu { display: grid !important; }
  .profil [data-pf="main"] > .pf-logout { display: inline-flex !important; }
  .profil [data-pf="main"] > .pf-note { display: block !important; }
  .profil .pf-panel:not([data-pf="main"]) .pf-sub .sp-back { display: block !important; }
}
/* Email maydoni ishlatilmaydi */
.pf-card label:has(#pfInEmail) { display: none !important; }
/* Tahrirlash oynasining sarlavhasi (← Ma'lumotlarni tahrirlash) kerak emas */
.profil [data-pf="edit"] .pf-sub { display: none !important; }
/* "Hisobdan chiqish" tugmasi va pastdagi izoh kerak emas */
#profil .pf-logout, #profil .pf-note { display: none !important; }
/* Xizmatlar sahifasining sarlavhasi (← Xizmatlar / izoh) kerak emas */
#svcPage .sp-head { display: none !important; }
#svcPage .sp-search { margin-top: 0; }
/* Buyurtmalarim sahifasining sarlavhasi va izohi kerak emas */
#mine > .work-bar, #mine > .hint { display: none !important; }

/* Profil tugmasi ostidan chiqadigan menyu */
.top-prof-wrap { position: relative; }
button.top-prof { cursor: pointer; font: 700 13px Inter, sans-serif; }
.top-prof .top-chev { transition: transform .18s; }
.top-prof.open .top-chev { transform: rotate(180deg); }
.top-drop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: 280px; background: #fff; border: 1px solid #e3e5f7; border-radius: 18px; box-shadow: 0 18px 40px rgba(20, 22, 72, .18); padding: 8px; transform-origin: top right; animation: tdIn .16s ease-out; }
.top-drop[hidden] { display: none; }
@keyframes tdIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.td-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid #eceefb; }
.td-ava { width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; font-weight: 800; font-size: 15px; }
.td-ava img { width: 100%; height: 100%; object-fit: cover; }
.td-head span { display: flex; flex-direction: column; min-width: 0; }
.td-head b { font-size: 15px; color: #1b1d4a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-head small { font-size: 12.5px; color: #6b6f99; }
.top-drop [data-topgo] { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: #1b1d4a; font: 600 14px Inter, sans-serif; text-align: left; cursor: pointer; }
.top-drop [data-topgo] svg { width: 20px; height: 20px; color: #5b3df5; flex: none; }
.top-drop [data-topgo]:hover { background: #f3f0ff; color: #3b2fc9; }
.td-count { margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px; background: #e53950; color: #fff; font: 800 11px/20px Inter, sans-serif; text-align: center; font-style: normal; }
.td-count[hidden] { display: none; }
@media (max-width: 720px) { .top-prof-wrap { display: none !important; } }

/* ===== Profil (kompyuter): eski ko'rinish o'rniga reklama ===== */
.pf-promo { display: none; }
@media (min-width: 721px) {
  .profil [data-pf="main"] > .pf-head, .profil [data-pf="main"] > .pf-stats, .profil [data-pf="main"] > .pf-menu { display: none !important; }
  .pf-promo { display: flex; flex-direction: column; gap: 20px; }
  .pp-slider { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 18px 40px rgba(40, 30, 120, .22); }
  .pp-track { display: flex; transition: transform .6s cubic-bezier(.22,.8,.3,1); }
  .pp-slide { position: relative; flex: 0 0 100%; min-height: clamp(300px, 26vw, 440px); display: flex; align-items: center; color: #fff; overflow: hidden; }
  .pp-slide::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: 18%; top: -260px; background: rgba(255,255,255,.08); }
  .pp-slide::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; left: -120px; bottom: -160px; background: rgba(255,255,255,.07); }
  .pp-text { position: relative; z-index: 1; width: 52%; padding: 40px 0 56px clamp(32px, 4vw, 64px); }
  .pp-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 700; letter-spacing: .2px; }
  .pp-text h2 { margin: 14px 0 10px; font-size: clamp(32px, 3.2vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.5px; }
  .pp-text p { margin: 0; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.5; color: rgba(255,255,255,.88); max-width: 560px; }
  .pp-btns { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
  .pp-go { height: 52px; padding: 0 28px; border: 0; border-radius: 14px; background: #ffd21f; color: #1b1d4a; font: 800 16px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(0,0,0,.18); transition: transform .12s; }
  .pp-go:hover { transform: translateY(-2px); }
  .pp-price { font-style: normal; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.16); font-weight: 800; }
  .pp-img { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; display: grid; place-items: center; }
  .pp-img img { max-width: 72%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); background: rgba(255,255,255,.92); border-radius: 26px; padding: 18px; }
  .pp-slide.wide .pp-img { width: 50%; }
  .pp-slide.wide .pp-img img { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; background: none; border-radius: 0; padding: 0; filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .pp-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); }
  .pp-nav:hover { background: rgba(255,255,255,.35); }
  .pp-nav.prev { left: 14px; } .pp-nav.next { right: 14px; }
  .pp-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
  .pp-dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
  .pp-dots button.on { width: 30px; background: #fff; }
  .pp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .pp-tile { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid #eceefb; box-shadow: 0 8px 20px rgba(40,30,120,.06); overflow: hidden; }
  .pp-tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: .5; }
  .pp-tile.t1::after { background: #ece7ff; } .pp-tile.t2::after { background: #dff4e7; } .pp-tile.t3::after { background: #e3efff; }
  .pp-tile span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 26px; background: #f3f0ff; margin-bottom: 12px; position: relative; z-index: 1; }
  .pp-tile b { display: block; font-size: 18px; margin-bottom: 6px; position: relative; z-index: 1; }
  .pp-tile p { margin: 0; color: #4a4d75; font-size: 14px; line-height: 1.5; position: relative; z-index: 1; }
  .pp-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 28px; border-radius: 20px; background: linear-gradient(110deg, #e9f6ff, #f3f0ff); border: 1px solid #d7e6fb; }
  .pp-cta b { font-size: 19px; }
  .pp-cta p { margin: 4px 0 0; color: #4a4d75; }
  .pp-tg { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 14px; background: #2aa3ef; color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 20px rgba(42,163,239,.3); white-space: nowrap; }
  .pp-tg:hover { background: #1b8fd8; }
}
@media (min-width: 721px) {
  .pp-slide:not(.wide) .pp-img img { width: min(72%, 380px); height: auto; max-height: 80%; image-rendering: auto; }
}
/* Profil ichki sahifalarining sarlavhalari (← Saqlangan xizmatlar, ← To'lovlarim va h.k.) kerak emas */
#profil .pf-panel .pf-sub { display: none !important; }
.upd-bar { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 14px; background: #1b1d4a; color: #fff; font: 600 14px Inter, sans-serif; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.upd-bar button { height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: #ffd21f; color: #1b1d4a; font-weight: 800; cursor: pointer; }
/* yangilanish sinovi */

/* ===== Bosh sahifa (kompyuter): banner o'rnida reklamalar slayderi ===== */
.home-promo { display: none; }
@media (min-width: 721px) {
  #homeBoard .board-hero { display: none !important; }
  .home-promo { display: block; padding: 18px var(--page-pad, 24px) 0; }
  .home-promo .pp-slide.hero .pp-text h2 { margin: 0 0 6px; }
  .home-promo .pp-slide.hero .pp-text h3 { margin: 0 0 12px; color: #ffd21f; font-size: clamp(24px, 2.3vw, 38px); font-weight: 800; line-height: 1.12; }
  .pp-feats { display: flex; gap: 26px; margin-top: 18px; flex-wrap: wrap; }
  .pp-feats span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
  .pp-feats svg { width: 26px; height: 26px; color: #fff; fill: currentColor; }
  a.pp-go { display: inline-flex; align-items: center; text-decoration: none; }
  .home-promo .pp-slide.hero .pp-img { width: 56%; }
  .home-promo .pp-slide.hero .pp-img img { object-fit: contain; object-position: right center; }
}

/* Profil menyusi: ism yonida qalamcha */
.td-head { position: relative; }
.top-drop .td-head .td-edit { margin-left: auto; flex: none; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 0; background: #f3f0ff; color: #5b3df5; cursor: pointer; }
.top-drop .td-head .td-edit:hover { background: #e6e0ff; }
.top-drop .td-head .td-edit svg { width: 18px; height: 18px; color: inherit; }

/* ===== Slayder: rasmlar to'liq va tiniq, chetlar toza ===== */
@media (min-width: 721px) {
  .pp-slider { isolation: isolate; transform: translateZ(0); }
  .pp-track { will-change: transform; }
  .pp-slide { height: clamp(320px, 25vw, 440px); min-height: 0 !important; backface-visibility: hidden; }
  .pp-slide.wide .pp-img, .home-promo .pp-slide.hero .pp-img { left: auto; right: 0; top: 0; bottom: 0; width: auto !important; max-width: 56%; display: block; }
  .pp-slide.wide .pp-img img, .home-promo .pp-slide.hero .pp-img img { display: block; height: 100% !important; width: auto !important; max-width: 100%; object-fit: contain !important; object-position: right center !important; image-rendering: auto; }
  .pp-img img { max-width: 340px; }
}

/* slaydlarga boshqa qoidalardan kelgan chekka bo'shliqni olib tashlash */
#ppTrack > .pp-slide { margin: 0 !important; }
@media (min-width: 721px) { .pp-text { padding-left: clamp(76px, 5vw, 96px) !important; } }

/* Obektivka: kiyim bo'limidagi sarlavha va izoh kerak emas */
#outfitBlock > h2, #outfitBlock > .hint { display: none !important; }

/* Surat qadami: izoh yozuvi kerak emas */
#photoLead > .hint { display: none !important; }

/* ===== Obektivka: "Surat" qadami — yangi ko'rinish ===== */
section.step[data-step="3"] .foto-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 6px; }
.foto-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.foto-actions .fa-ico { width: 22px; height: 22px; flex: none; }
section.step[data-step="3"] .foto-actions .btn { height: 64px; border-radius: 16px; font-size: 16px; font-weight: 700; }
section.step[data-step="3"] .foto-actions #btnCam { background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; border: 0; box-shadow: 0 10px 22px rgba(75, 47, 224, .25); }
section.step[data-step="3"] .foto-actions #btnGal { background: #f5f3ff; color: #3b2fc9; border: 1.5px dashed #b9adff; }
section.step[data-step="3"] .foto-actions #btnGal:hover { background: #ece8ff; }

section.step[data-step="3"] #outfitBlock { margin-top: 18px; }
section.step[data-step="3"] .outfits { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
section.step[data-step="3"] .outfit { position: relative; padding: 8px; border: 1.5px solid #e4e1f5; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; text-align: center; }
section.step[data-step="3"] .outfit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(40, 30, 120, .10); }
section.step[data-step="3"] .outfit img { height: 150px; object-fit: contain; background: #f6f5fb; border-radius: 12px; }
section.step[data-step="3"] .outfit b { margin-top: 8px; font-size: 14px; color: #1b1d4a; }
section.step[data-step="3"] .outfit.plain { min-height: 0; display: block; background: #fff; }
section.step[data-step="3"] .outfit.plain::before { content: ""; display: block; height: 150px; border-radius: 12px; background: #f6f5fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3 4 5.5 2.5 10l3 1.2V21h13v-9.8l3-1.2L20 5.5 16 3c-.6 1.6-2.2 2.6-4 2.6S8.6 4.6 8 3z' fill='none' stroke='%237a6cf0' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72px no-repeat; }
section.step[data-step="3"] .outfit.on { border-color: #5b3df5; box-shadow: 0 0 0 3px rgba(91, 61, 245, .16); }
section.step[data-step="3"] .outfit.on::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: #5b3df5; color: #fff; font: 800 14px/26px Inter, sans-serif; text-align: center; box-shadow: 0 4px 10px rgba(91, 61, 245, .35); }
section.step[data-step="3"] #kiyimHol:empty { display: none; }

section.step[data-step="3"] #signBlock { margin-top: 22px; padding: 16px 18px 18px; border: 1px solid #e4e1f5; border-radius: 18px; background: #faf9ff; }
.sign-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sign-head h2 { margin: 0; font-size: 18px; }
#signBlock .hint { margin: 4px 0 10px; }
section.step[data-step="3"] #sign { border: 1.5px dashed #c9c1f3; border-radius: 14px; background: #fff linear-gradient(transparent calc(100% - 38px), #ebe8fb calc(100% - 38px), #ebe8fb calc(100% - 37px), transparent calc(100% - 37px)); cursor: crosshair; }
.sign-head #signClear { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; background: #fff; }

section.step[data-step="3"] > .nav { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eceafb; }
@media (max-width: 720px) {
  section.step[data-step="3"] .foto-actions .btn { height: 56px; font-size: 14.5px; }
  section.step[data-step="3"] .outfits { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  section.step[data-step="3"] .outfit img, section.step[data-step="3"] .outfit.plain::before { height: 130px; }
}
@media (max-width: 720px) { section.step[data-step="3"] .foto-actions .btn { flex-direction: column; gap: 6px; height: 78px !important; font-size: 13.5px; line-height: 1.15; padding: 0 8px; } }

/* ===== Obektivka: ko'rib chiqish qadami ===== */
#templates[hidden] { display: none !important; }
.review { display: flex; flex-direction: column; gap: 14px; margin: 12px 0 6px; }
.rv-card { border: 1px solid #e4e1f5; border-radius: 16px; background: #fff; padding: 16px 18px; }
.rv-top { display: flex; gap: 20px; align-items: flex-start; }
.rv-photo { flex: none; width: 132px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #f6f5fb; display: grid; place-items: center; border: 1px solid #e4e1f5; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-main { flex: 1; min-width: 0; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rv-head h3 { margin: 0; font-size: 17px; color: #1b1d4a; }
.rv-edit { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid #d9d3fb; background: #f5f3ff; color: #4b2fe0; font: 700 13px Inter, sans-serif; cursor: pointer; flex: none; }
.rv-edit:hover { background: #ebe6ff; }
.rv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 0; }
.rv-list > div { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px dashed #eceafb; min-width: 0; }
.rv-list > div:first-child { grid-column: 1 / -1; }
.rv-list dt { font-size: 12px; color: #7a7da3; font-weight: 600; }
.rv-list dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: #1b1d4a; overflow-wrap: anywhere; }
.rv-def { color: #8a8db0; font-weight: 500; font-style: italic; }
.rv-empty { color: #c0392b; font-weight: 500; font-size: 14px; margin: 0; }
.rv-photo .rv-empty { font-size: 12px; text-align: center; padding: 8px; }
.rv-jobs { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.rv-jobs li { font-size: 15px; color: #1b1d4a; }
.rv-scroll { overflow-x: auto; }
.rv-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.rv-table th { text-align: left; font-size: 12px; color: #7a7da3; font-weight: 700; padding: 8px 10px; background: #f6f5fb; }
.rv-table td { padding: 9px 10px; border-bottom: 1px solid #eceafb; color: #1b1d4a; vertical-align: top; }
.rv-sign { max-width: 260px; max-height: 90px; display: block; border: 1px dashed #d9d3fb; border-radius: 10px; background: #fff; }
@media (max-width: 720px) {
  .rv-top { flex-direction: column; align-items: center; }
  .rv-main { width: 100%; }
  .rv-list { grid-template-columns: 1fr; }
  .rv-card { padding: 14px; }
}

/* Admin: tayyorlab qo'yilgan, tekshirib yuborish kerak */
.badge.check { background: #dff3ff; color: #0b6aa8; border: 1px solid #a9d8f5; margin-left: 4px; white-space: nowrap; }

/* ===================== To'y taklifnomasi sahifasi ===================== */
#customStep.tk-mode { background: #fbf6ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 6c4 10 14 14 24 14-10 4-14 14-14 24-4-10-14-14-24-14 10-4 14-14 14-24z' fill='%23e9dcb8' opacity='.35'/%3E%3C/svg%3E"); border: 1px solid #e6d4a6; padding: clamp(14px, 2.2vw, 30px); }
#customStep.tk-mode > #customTitle, #customStep.tk-mode > #customNote, #customStep.tk-mode > #customFields, #customStep.tk-mode > .nav { display: none !important; }
.tk { --navy: #10204f; --gold: #b8912f; --gold2: #e4c779; --line: #e6d4a6; color: #23253f; }
.tk-head { text-align: center; margin-bottom: 14px; }
.tk-head h1 { display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 10px 34px; border-radius: 18px; background: linear-gradient(180deg, #16295f, #0c1940); color: #f1d27c; border: 2px solid var(--gold2); box-shadow: 0 10px 26px rgba(16, 32, 79, .25); font: 700 clamp(26px, 3vw, 44px)/1.1 Georgia, "Times New Roman", serif; letter-spacing: .3px; }
.tk-ring { width: 46px; height: 32px; color: #f1d27c; }
.tk-head p { margin: 12px 0 0; font: 400 clamp(15px, 1.35vw, 21px) Georgia, serif; color: #2b2d4a; }
.tk-steps { list-style: none; display: flex; justify-content: center; gap: clamp(10px, 3vw, 56px); margin: 16px 0 20px; padding: 0; }
.tk-steps li { display: flex; align-items: center; gap: 10px; padding: 6px 22px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: #fffaf0; font-weight: 700; font-size: 15px; color: #23253f; }
.tk-steps li b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #e9c766, #c69b32); color: #fff; font-size: 16px; }
.tk-steps li.on { background: linear-gradient(180deg, #16295f, #0c1940); color: #fff; border-color: var(--gold2); }
.tk-steps li.done b::after { content: ""; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tk-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tk-card { background: rgba(255, 252, 244, .94); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 20px 20px; box-shadow: 0 8px 22px rgba(120, 90, 20, .08); min-width: 0; }
.tk-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 clamp(19px, 1.6vw, 25px) Georgia, serif; color: #1b1d3a; }
.tk-card h2 svg { width: 34px; height: 34px; color: var(--gold); flex: none; }
.tk-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-size: 14px; position: relative; }
.tk-f > span { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #1b1d3a; }
.tk-f > span svg { width: 22px; height: 22px; color: var(--gold); }
.tk i { color: #d6283b; font-style: normal; }
.tk input:not([type=hidden]), .tk select, .tk textarea { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid #e2d6b8; border-radius: 12px; background: #fff; font: 500 15px Inter, sans-serif; color: #23253f; }
.tk textarea { height: auto; padding: 12px 14px 22px; resize: vertical; }
.tk input:focus, .tk select:focus, .tk textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 145, 47, .18); }
.tk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tk-count { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: #8a8597; }
.tk-types-head { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font: 700 17px Georgia, serif; }
.tk-types-head svg { width: 24px; height: 24px; color: var(--gold); }
.tk-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tk-types button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 76px; border-radius: 14px; border: 1.5px solid #e2d6b8; background: #fff; color: #1b1d3a; font: 700 13.5px Inter, sans-serif; cursor: pointer; }
.tk-types button svg { width: 32px; height: 26px; color: var(--gold); }
.tk-types button.on { background: linear-gradient(180deg, #16295f, #0c1940); color: #fff; border-color: var(--gold2); }
.tk-types button.on svg { color: #f1d27c; }
.tk-types button.on::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: #e3c25f; color: #10204f; font-size: 12px; line-height: 20px; }
.tk-slider { position: relative; }
.tk-designs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.tk-designs::-webkit-scrollbar { display: none; }
.tk-d { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 6px 8px; border: 2px solid transparent; border-radius: 14px; background: none; cursor: pointer; font: 600 14px Inter, sans-serif; color: #1b1d3a; }
.tk-d img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--line); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.tk-d small { display: none; }
.tk-d .tk-radio { position: absolute; }
.tk-d b { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tk-d b::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #4b3fd0; box-sizing: border-box; }
.tk-d.on { border-color: var(--gold2); background: #fff6dc; }
.tk-d.on b::before { background: radial-gradient(circle, #4b3fd0 0 5px, #fff 6px); }
.tk-arr { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); font-size: 24px; line-height: 1; cursor: pointer; color: #3b2fc9; }
.tk-arr.prev { left: -14px; } .tk-arr.next { right: -14px; }
.tk-hint { margin: -6px 0 12px; color: #4a4b66; font-size: 14px; }
.tk-drop { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 140px; padding: 16px 18px; border: 2px dashed #b4a8f0; border-radius: 16px; background: #faf9ff; }
.tk-drop.over { background: #efeaff; border-color: #6a4dff; }
.tk-drop-in { flex: 1; text-align: center; }
.tk-drop-in svg { width: 52px; height: 52px; color: #6a4dff; }
.tk-drop-in p { margin: 4px 0; font: 600 16px Georgia, serif; }
.tk-drop-in a { color: #5b3df5; }
.tk-drop-in small { color: #555; }
.tk-pickbtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; border: 1.5px solid #b4a8f0; background: #fff; color: #3b2fc9; font: 700 14.5px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.tk-pickbtn svg { width: 22px; height: 22px; }
.tk-pickbtn[hidden], .tk-drop-in[hidden], .tk-photo[hidden] { display: none !important; }
.tk-photo { position: relative; margin: 0 auto; }
.tk-photo img { max-height: 220px; max-width: 100%; border-radius: 12px; display: block; }
.tk-photo button { position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #d6283b; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tk-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.tk-rv-img img { width: 100%; border-radius: 14px; border: 1.5px solid var(--line); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); display: block; }
.tk-rv-img span { display: block; margin-top: 8px; text-align: center; font-weight: 700; color: #6b5a24; }
.tk-review dl { margin: 0 0 14px; }
.tk-review dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e2d6b8; }
.tk-review dt { color: #6b6a80; font-size: 14px; }
.tk-review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.tk-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.tk-btn { height: 54px; padding: 0 30px; border-radius: 16px; border: 2px solid var(--gold2); background: linear-gradient(180deg, #16295f, #0c1940); color: #fff; font: 700 18px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(16, 32, 79, .25); }
.tk-btn.ghost { background: #fffaf0; color: #1b1d3a; border-color: #e2d6b8; box-shadow: none; }
.tk-btn:disabled { opacity: .6; }
#tkWrap #customErr { margin-top: 14px; }
@media (max-width: 900px) {
  .tk-grid, .tk-review { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tk-head h1 { padding: 8px 18px; gap: 8px; }
  .tk-ring { width: 34px; height: 24px; }
  .tk-steps { gap: 6px; }
  .tk-steps li { padding: 4px 10px 4px 4px; font-size: 12px; gap: 6px; }
  .tk-steps li b { width: 26px; height: 26px; font-size: 13px; }
  .tk-types { grid-template-columns: repeat(2, 1fr); }
  .tk-designs { grid-auto-columns: 72%; }
  .tk-drop { flex-direction: column; }
  .tk-review dl > div { grid-template-columns: 1fr; gap: 2px; }
  .tk-btn { height: 50px; padding: 0 18px; font-size: 15px; }
  .tk-arr { display: none; }
}
@media (min-width: 721px) { #work:has(#customStep.tk-mode.on) { max-width: min(1520px, 100%) !important; } #customStep.tk-mode { max-width: none !important; width: 100% !important; } }
#work:has(#customStep.tk-mode.on) #whero, #work:has(#customStep.tk-mode.on) #contactBox { display: none !important; }
@media (max-width: 720px) {
  #customStep.tk-mode { padding: 12px 10px; }
  .tk-head h1 { font-size: 24px; }
  .tk-head p { font-size: 14px; }
  .tk-steps { justify-content: space-between; gap: 4px; }
  .tk-steps li { flex: 1; justify-content: center; padding: 4px 6px 4px 4px; font-size: 11px; line-height: 1.1; min-width: 0; }
  .tk-steps li b { width: 22px; height: 22px; font-size: 12px; flex: none; }
  .tk-row { grid-template-columns: 1fr; gap: 0; }
  .tk-card { padding: 14px 12px 16px; border-radius: 16px; }
  .tk-card h2 { font-size: 18px; gap: 8px; }
  .tk-card h2 svg { width: 26px; height: 26px; }
}
.tk-d .tk-radio { display: none; } .tk-d { position: relative; } .tk-designs { overscroll-behavior-x: contain; }

/* To'y turi tanlovi (ism maydoni ustida) */
.tk-f em { font-style: normal; }
.tk-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tk-kinds button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 92px; padding: 8px 6px; border-radius: 14px; border: 1.5px solid #e2d6b8; background: #fff; color: #1b1d3a; cursor: pointer; text-align: center; }
.tk-kinds button svg { width: 34px; height: 26px; color: #b8912f; margin-bottom: 2px; }
.tk-kinds button b { font: 700 13.5px/1.2 Inter, sans-serif; }
.tk-kinds button small { font-size: 11.5px; color: #8a8597; }
.tk-kinds button.on { background: linear-gradient(180deg, #16295f, #0c1940); color: #fff; border-color: #e4c779; }
.tk-kinds button.on svg { color: #f1d27c; }
.tk-kinds button.on small { color: #d9d3f5; }
.tk-kinds button.on::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: #e3c25f; color: #10204f; font-size: 12px; line-height: 20px; }
@media (max-width: 720px) { .tk-kinds { grid-template-columns: repeat(2, 1fr); } }

/* Taklifnoma: qo'shimcha matn maydoni kerak emas */
.tk-f:has(#cf-f5) { display: none !important; }
/* Taklifnoma sahifasi: kompyuterda ekranni to'liq egallaydi */
@media (min-width: 721px) {
  #work:has(#customStep.tk-mode.on) { max-width: none !important; width: 100% !important; margin: 0 !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; }
  #customStep.tk-mode { border-radius: 18px; }
  .tk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .tk-designs { grid-auto-columns: calc((100% - 36px) / 4); }
}
/* Taklifnoma: tepa qismi to'q (qora-ko'k) fon, oltin naqsh bilan */
#customStep.tk-mode { overflow: hidden; }
.tk-head { position: relative; margin: calc(-1 * clamp(14px, 2.2vw, 30px)) calc(-1 * clamp(14px, 2.2vw, 30px)) 22px; padding: clamp(20px, 2.4vw, 34px) 16px 22px; color: #f4e7c3;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23c9a64a' stroke-width='1' opacity='.35'%3E%3Cpath d='M32 4l8 12 12 8-12 8-8 12-8-12-12-8 12-8z'/%3E%3Ccircle cx='32' cy='24' r='3'/%3E%3Cpath d='M0 0l10 10M64 0L54 10M0 64l10-10M64 64L54 54'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 140% at 50% 0%, #1b2f6b 0%, #0d1838 55%, #070d22 100%);
  border-bottom: 3px solid #c9a64a; box-shadow: inset 0 -12px 24px rgba(0,0,0,.25); }
.tk-head::before, .tk-head::after { content: "❦"; position: absolute; top: 50%; transform: translateY(-50%); font-size: clamp(40px, 5vw, 90px); color: #c9a64a; opacity: .55; }
.tk-head::before { left: clamp(12px, 3vw, 60px); }
.tk-head::after { right: clamp(12px, 3vw, 60px); transform: translateY(-50%) scaleX(-1); }
.tk-head h1 { background: linear-gradient(180deg, #0f1d47, #060c22); box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 0 0 1px rgba(241,210,124,.35); }
.tk-head p { color: #f4e7c3; }
.tk-head .tk-steps { margin: 18px 0 0; }
.tk-head .tk-steps li { background: rgba(255,250,240,.96); }
.tk-head .tk-steps li.on { background: linear-gradient(180deg, #e9c766, #c69b32); color: #10204f; border-color: #f1d27c; }
.tk-head .tk-steps li.on b { background: #10204f; color: #f1d27c; }
@media (max-width: 720px) {
  #customStep.tk-mode .tk-head { margin: -12px -10px 16px; padding: 18px 10px 16px; }
  .tk-head::before, .tk-head::after { display: none; }
}

.tk-head::before, .tk-head::after { content: ""; width: clamp(70px, 9vw, 170px); height: clamp(58px, 7.4vw, 140px); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20160%20130%22%3E%3Cpath%20d%3D%22M20%20110%20Q%2070%2020%20140%2040%22%20fill%3D%22none%22%20stroke%3D%22%23d4af55%22%20stroke-width%3D%223%22/%3E%3Cellipse%20cx%3D%2211.0%22%20cy%3D%22104.0%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%2835%2011.0%20104.0%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2229.0%22%20cy%3D%22104.0%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-35%2029.0%20104.0%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2231.0%22%20cy%3D%2272.2%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%2828%2031.0%2072.2%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2249.0%22%20cy%3D%2272.2%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-42%2049.0%2072.2%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2251.0%22%20cy%3D%2247.4%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%2822%2051.0%2047.4%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2269.0%22%20cy%3D%2247.4%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-48%2069.0%2047.4%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2271.0%22%20cy%3D%2234.9%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%2815%2071.0%2034.9%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2289.0%22%20cy%3D%2234.9%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-55%2089.0%2034.9%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%2291.0%22%20cy%3D%2237.4%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%288%2091.0%2037.4%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%22109.0%22%20cy%3D%2237.4%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-62%20109.0%2037.4%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%22111.0%22%20cy%3D%2254.5%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%282%20111.0%2054.5%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%22129.0%22%20cy%3D%2254.5%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-68%20129.0%2054.5%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%22131.0%22%20cy%3D%2282.4%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-5%20131.0%2082.4%29%22%20fill%3D%22%23d4af55%22/%3E%3Cellipse%20cx%3D%22149.0%22%20cy%3D%2282.4%22%20rx%3D%2213%22%20ry%3D%225.5%22%20transform%3D%22rotate%28-75%20149.0%2082.4%29%22%20fill%3D%22%23d4af55%22/%3E%3Ccircle%20cx%3D%22145%22%20cy%3D%2238%22%20r%3D%225%22%20fill%3D%22%23f1d27c%22/%3E%3C/svg%3E") center / contain no-repeat; opacity: .85; font-size: 0; }
.tk-d[hidden], .tk-arr[hidden] { display: none !important; }
/* Taklifnoma dizaynlari: rasm kesilmasdan to'liq ko'rinadi + kattalashtirish */
.tk-d img { aspect-ratio: 3 / 2 !important; object-fit: contain !important; background: #f6efdc; }
.tk-zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 32, 79, .85); color: #f1d27c; border: 1px solid #e4c779; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.tk-zoom svg { width: 18px; height: 18px; }
.tk-d:hover .tk-zoom { background: #10204f; }
.tk-light { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: rgba(5, 9, 25, .92); }
.tk-light[hidden] { display: none; }
.tk-light img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.tk-light .tl-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.tk-light b { color: #f1d27c; font: 700 18px Georgia, serif; }
.tk-light button { height: 44px; padding: 0 20px; border-radius: 12px; border: 1.5px solid #e4c779; font: 700 15px Inter, sans-serif; cursor: pointer; }
.tk-light .tl-pick { background: linear-gradient(180deg, #e9c766, #c69b32); color: #10204f; }
.tk-light .tl-close { background: transparent; color: #fff; }
.tk-light .tl-x { position: absolute; top: 14px; right: 18px; width: 44px; padding: 0; font-size: 26px; background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.tk-rv-img img { cursor: zoom-in; }

.tk-couple[hidden] { display: none !important; }
.tk-couple { animation: tdIn .2s ease-out; }

.tk-rv-img img.rendering { filter: blur(2px) brightness(.97); transition: filter .2s; }
.tk-time2[hidden] { display: none !important; }
/* Taklifnoma: dizayn nomi yozuvlari kerak emas */
.tk-light .tl-bar b, #tkRvDesign { display: none !important; }

/* ===================== Hujjatlar uchun rasm: 3 ustunli birinchi qadam ===================== */
.sgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.scard { background: #fff; border: 1px solid #e7e5f7; border-radius: 20px; padding: 18px 18px 20px; box-shadow: 0 8px 22px rgba(40, 30, 120, .06); min-width: 0; }
.sleft .sfield { margin: 0 0 18px; }
.sleft .sfield:last-child { margin-bottom: 0; }
.sleft .slabel, .shead { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 800 16px Inter, sans-serif; color: #1b1d4a; }
.sleft .slabel svg, .shead svg { width: 22px; height: 22px; color: #5b3df5; flex: none; }
.shead { font-size: 19px; margin-bottom: 14px; }
.shead svg { width: 26px; height: 26px; }
.schips { display: grid; gap: 12px; }
.schips.two { grid-template-columns: 1fr 1fr; }
.schips button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 14px; border: 1.5px solid #e4e1f5; background: #fff; font: 700 15px Inter, sans-serif; color: #1b1d4a; cursor: pointer; }
.schips button .emo { font-size: 22px; }
.schips button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(75, 47, 224, .25); }
.stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stiles button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 84px; border-radius: 14px; border: 1.5px solid #e4e1f5; background: #fff; color: #1b1d4a; cursor: pointer; }
.stiles button svg { width: 30px; height: 30px; color: #3b2fc9; }
.stiles button b { font: 700 14px Inter, sans-serif; }
.stiles button.on { border-color: #6a4dff; background: #f3f0ff; box-shadow: 0 0 0 2px rgba(106, 77, 255, .18); }
.stabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: #f3f2fb; margin-bottom: 12px; }
.stabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; border-radius: 10px; background: none; font: 700 14px Inter, sans-serif; color: #1b1d4a; cursor: pointer; }
.stabs button svg { width: 19px; height: 19px; }
.stabs button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; box-shadow: 0 6px 14px rgba(75, 47, 224, .25); }
.stabs.sub button { height: 36px; font-size: 13.5px; }
.sforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sform { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 8px; border: 1.5px solid #e4e1f5; border-radius: 14px; background: #fff; cursor: pointer; text-align: center; }
.sform svg, .sform img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; display: block; background: #f4f5f9; }
.sform span { font: 600 12px/1.25 Inter, sans-serif; color: #3a3d66; min-height: 30px; display: flex; align-items: center; justify-content: center; }
.sform.on { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .18); }
.sform.on::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: #5b3df5; color: #fff; font: 800 13px/24px Inter, sans-serif; text-align: center; }
.sform-info { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #f3f2fb; font: 500 14px Inter, sans-serif; color: #1b1d4a; }
.sform-info svg { width: 20px; height: 20px; color: #5b3df5; flex: none; }
.sprev-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; }
.sprev-box { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid #e4e1f5; background: #fff; display: grid; place-items: center; }
.sprev-box img { width: 100%; height: 100%; object-fit: cover; }
.sprev-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.sprev-ph .ph-face { position: absolute; top: 16%; left: 50%; width: 34%; aspect-ratio: 3 / 4; transform: translateX(-50%); border-radius: 50% 50% 46% 46%; background: linear-gradient(#d9d4f3, #c6bfee); }
.sprev-ph .ph-body { width: 100%; height: 48%; overflow: hidden; }
.sprev-ph .ph-body svg, .sprev-ph .ph-body img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sprev-ph .ph-body svg rect:first-child { fill: transparent; }
.sprev-ph p { position: absolute; top: 6px; left: 0; right: 0; margin: 0; text-align: center; font: 600 12px Inter, sans-serif; color: #8a8db0; }
.sprev-tools { display: flex; flex-direction: column; gap: 8px; }
.sprev-tools button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 66px; padding: 6px 4px; border: 1px solid #e4e1f5; border-radius: 12px; background: #fff; color: #1b1d4a; cursor: pointer; font: 600 12px Inter, sans-serif; }
.sprev-tools button svg { width: 22px; height: 22px; color: #5b3df5; }
.sprev-tools button small { font-size: 10.5px; color: #5b3df5; font-weight: 700; }
.sprev-tools button:hover { background: #f6f4ff; }
.sok-badge { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 8px; padding: 6px 14px; border-radius: 999px; background: #e3f7e9; color: #137a32; font: 800 14px Inter, sans-serif; }
.sok-badge svg { width: 20px; height: 20px; }
.sprev { text-align: left; }
.sprev .sok-badge { display: flex; width: max-content; }
.sreq { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sreq li { display: flex; align-items: center; gap: 10px; font: 500 14px Inter, sans-serif; color: #1b1d4a; }
.sreq li::before { content: "✓"; width: 20px; height: 20px; flex: none; border-radius: 50%; background: #1fa845; color: #fff; font: 800 12px/20px Inter, sans-serif; text-align: center; }
@media (max-width: 1100px) and (min-width: 721px) {
  .sgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sprev { grid-column: 1 / -1; }
  .sprev-row { grid-template-columns: minmax(0, 260px) 76px; justify-content: center; }
}
@media (max-width: 720px) {
  .sgrid { grid-template-columns: 1fr; gap: 12px; }
  .scard { padding: 14px 12px 16px; border-radius: 16px; }
  .stiles { grid-template-columns: repeat(2, 1fr); }
  .stabs button { font-size: 12.5px; gap: 5px; }
  .stabs button svg { display: none; }
  .sprev-row { grid-template-columns: minmax(0, 1fr) 70px; }
}
/* Hujjatlar uchun rasm: kompyuterda ekran eniga */
@media (min-width: 721px) {
  #work:has(#sflow:not([hidden])) { max-width: none !important; width: 100% !important; margin: 0 !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; }
  #sInfo { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  .sleft .ssrc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sleft .ssrc button { flex-direction: row !important; justify-content: center; gap: 8px; height: 50px; font-size: 14px; }
  .sleft .ssizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .sleft .ssizes button { height: 50px; padding: 0 4px; flex-direction: row !important; justify-content: center; }
  .sleft .ssizes button i { display: none !important; }
  .sleft .ssizes button span { font-size: 13px; white-space: nowrap; }
}
/* Hujjatlar uchun rasm: kompyuterda bir ekranga sig'adigan ixcham ko'rinish */
@media (min-width: 721px) {
  #work:has(#sInfo.on) #contactBox { display: none !important; }
  #work:has(#sInfo.on) #whero { min-height: 0 !important; height: 104px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  #work:has(#sInfo.on) #whero img { max-height: 96px !important; }
  #work:has(#sInfo.on) #sflow { margin-top: 10px !important; margin-bottom: 10px !important; }
  .sgrid { gap: 14px; }
  .scard { padding: 14px 16px 16px; }
  .sleft .sfield { margin-bottom: 12px; }
  .sleft .slabel, .shead { margin-bottom: 8px; font-size: 15px; }
  .shead { font-size: 17px; margin-bottom: 10px; }
  .schips button { height: 44px; }
  .stiles button { height: 66px; gap: 4px; }
  .stiles button svg { width: 24px; height: 24px; }
  .sleft .ssrc button, .sleft .ssizes button { height: 44px !important; }
  .sleft #sNote { min-height: 0; height: 52px; }
  .sleft .scount { margin: 0; }
  .sleft #sCountHint { margin: 4px 0 0; font-size: 12px; }
  .stabs { margin-bottom: 8px; }
  .stabs button { height: 36px; }
  .stabs.sub button { height: 32px; }
  .sforms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .sform svg, .sform img { aspect-ratio: 1 / 1; }
  .sform span { min-height: 26px; font-size: 11.5px; }
  .sform-info { margin-top: 10px; padding: 9px 12px; }
  .sprev-box { aspect-ratio: auto; height: clamp(240px, 34vh, 380px); }
  .sprev-tools button { min-height: 56px; }
  .sok-badge { margin: 10px 0 6px; }
  .sreq { gap: 5px; }
  #sInfo .snav { margin-top: 12px; }
}
/* Forma tanlash: tepadagi takroriy tugmalar kerak emas (Toifa va Maqsad bilan bir xil) */
#sFormTabs, #sGenTabs { display: none !important; }
.sform img { object-fit: contain !important; background: #fff !important; }
.sprev-ph .ph-body img { object-fit: contain !important; object-position: top center; }

/* Maqsad: 5 ta tanlov */
@media (min-width: 721px) { #sMaqsad { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } #sMaqsad button b { font-size: 12.5px; } }
@media (max-width: 720px) { #sMaqsad { grid-template-columns: repeat(3, 1fr); } }

/* Maqsad: 6 ta tanlov - 3 tadan 2 qator */
@media (min-width: 721px) { #sMaqsad { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } #sMaqsad button { height: 58px !important; flex-direction: row !important; gap: 8px !important; } #sMaqsad button svg { width: 22px !important; height: 22px !important; } #sMaqsad button b { font-size: 13.5px !important; } }
@media (min-width: 721px) { #sMaqsad button { height: 44px !important; } .sleft .sfield { margin-bottom: 9px !important; } .sleft #sNote { height: 42px !important; } .sleft #sCountHint { display: none; } }

/* Forma egniga: ramkadagi jonli ko'rinish va sozlash tugmalari */
.frame-outfit { position: absolute; pointer-events: none; z-index: 2; max-width: none; }
.frame-outfit[hidden] { display: none; }
.frame .guide { z-index: 3; }
.sfit { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font: 700 13px Inter, sans-serif; color: #1b1d4a; }
.sfit[hidden] { display: none !important; }
.sfit button { width: 34px; height: 32px; border-radius: 9px; border: 1px solid #d9d3fb; background: #f5f3ff; color: #3b2fc9; font: 800 16px Inter, sans-serif; cursor: pointer; }
.sfit button:hover { background: #ebe6ff; }

/* AI bilan kiydirish tugmasi */
.ai-dress { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin: 12px 0 0; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ff7ac6, #7a4dff 55%, #3b8cff); color: #fff; font: 800 15px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(122, 77, 255, .3); }
.ai-dress[hidden] { display: none !important; }
.ai-dress:disabled { opacity: .7; cursor: wait; }
.ai-dress.done { background: #1fa845; box-shadow: none; }
/* Hujjatlar uchun rasm: "Oldindan ko'rish" ustuni kerak emas - 2 ustun */
#sInfo .sprev { display: none !important; }
@media (min-width: 721px) { #sInfo .sgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) !important; } }

/* ===== Natija paneli (AI bilan generatsiya) ===== */
#sNext1 { display: none !important; }
.sf-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); gap: 14px; align-items: start; }
.sf-left .sforms { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.sf-go { align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 800 22px/1 Inter, sans-serif; cursor: pointer; box-shadow: 0 8px 18px rgba(75, 47, 224, .3); }
.sf-go:hover { filter: brightness(1.1); }
.sf-set { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #f5f4fc; }
.sf-set h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 15px Inter, sans-serif; color: #1b1d4a; }
.sf-set h4 svg { width: 20px; height: 20px; color: #5b3df5; }
.sf-set ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sf-set li { display: flex; align-items: center; gap: 9px; font: 500 13.5px Inter, sans-serif; color: #1b1d4a; }
.sf-set li::before { content: "✓"; flex: none; width: 19px; height: 19px; border-radius: 50%; background: #1fa845; color: #fff; font: 800 11px/19px Inter, sans-serif; text-align: center; }
.sf-res .shead span { font-weight: 500; color: #4a4d75; font-size: 14px; }
.sf-resbox { position: relative; aspect-ratio: 3 / 4; max-height: 440px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid #e4e1f5; background: #f7f6fc; display: grid; place-items: center; }
.sf-resbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-resbox img[hidden], .sf-resph[hidden], .sf-busy[hidden] { display: none !important; }
.sf-resph { text-align: center; color: #8a8db0; font: 600 14px Inter, sans-serif; padding: 20px; }
.sf-resph b { display: block; font-size: 42px; margin-bottom: 6px; }
.sf-busy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(255, 255, 255, .82); text-align: center; font: 700 14px Inter, sans-serif; color: #3b2fc9; }
.sf-busy i { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #d9d3fb; border-top-color: #5b3df5; animation: sfspin .9s linear infinite; }
@keyframes sfspin { to { transform: rotate(360deg); } }
.sf-resmsg { min-height: 18px; margin: 8px 0 0; font: 500 12.5px/1.4 Inter, sans-serif; color: #4a4d75; text-align: center; }
.sf-resbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.sf-resbtns button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; font: 800 14.5px Inter, sans-serif; cursor: pointer; }
.sf-resbtns svg { width: 18px; height: 18px; }
.sf-regen { border: 1.5px solid #d9d3fb; background: #fff; color: #3b2fc9; }
.sf-send { border: 0; background: #1fa845; color: #fff; box-shadow: 0 8px 18px rgba(31, 168, 69, .28); }
.sf-send:hover { background: #18913b; }
.sf-adjust { display: block; margin: 8px auto 0; border: 0; background: none; color: #5b3df5; font: 600 13px Inter, sans-serif; text-decoration: underline; cursor: pointer; }
@media (min-width: 721px) { #sInfo .sgrid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; } }
@media (max-width: 720px) {
  .sf-wrap { grid-template-columns: 1fr; }
  .sf-go { margin: 0 auto; transform: rotate(90deg); }
  .sf-resbox { max-height: 380px; }
}
@media (min-width: 721px) { .sf-resbox { max-height: 340px; } .sf-set { padding: 10px 14px; margin-top: 10px; } .sf-set li { font-size: 12.5px; } }
#sResAdjust { display: none !important; }
.sf-set { display: none !important; }
#sfGo { display: none !important; }
@media (min-width: 721px) { .sf-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
/* yuz tuxumchasi - standart 3x4 joylashuv (bosh tepadan ~12%, iyak ~68%) */
.guide { left: 22% !important; top: 12% !important; width: 56% !important; height: 56% !important; }

/* yuz tuxumchasi - standart 3x4: sochdan iyakkacha ~14%..79% */
.guide { left: 24% !important; top: 14% !important; width: 52% !important; height: 65% !important; }

/* Hujjatlar uchun suratlar: tur tanlovi */
.stype { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stype button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #e4e1f5; background: #fff; color: #1b1d4a; cursor: pointer; text-align: left; }
.stype button svg { width: 28px; height: 28px; flex: none; color: #5b3df5; }
.stype button b { display: block; font: 800 14.5px Inter, sans-serif; }
.stype button small { display: block; font: 500 12px Inter, sans-serif; color: #6b6f99; }
.stype button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(75, 47, 224, .25); }
.stype button.on svg, .stype button.on small { color: #e6e1ff; }
@media (min-width: 721px) { .sleft .ssizes { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 6px !important; } .sleft .ssizes button span { font-size: 12px !important; } .stype button { padding: 7px 10px; } .stype button svg { width: 24px; height: 24px; } }

/* Rasmiy ishga: Maqsad tanlovi kerak emas */
#sInfo.is-rasmiy .sfield:has(#sMaqsad) { display: none !important; }
/* Tur tanlovi - sahifa tepasida 2 ta katta tab (sahifa 2 turga ajraladi) */
#sInfo > .stype { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; }
#sInfo > .stype button { justify-content: center; gap: 14px; padding: 14px 18px; border-radius: 18px; border: 2px solid #e4e1f5; background: #fff; box-shadow: 0 6px 16px rgba(40, 30, 120, .06); }
#sInfo > .stype button svg { width: 34px; height: 34px; }
#sInfo > .stype button b { font-size: 18px; }
#sInfo > .stype button small { font-size: 13px; }
#sInfo > .stype button.on { border-color: transparent; }
@media (max-width: 720px) { #sInfo > .stype { gap: 8px; } #sInfo > .stype button { padding: 10px; gap: 8px; } #sInfo > .stype button b { font-size: 14px; } #sInfo > .stype button svg { width: 24px; height: 24px; } }

/* ===== Mockup bo'yicha: 2 tab + 3 ta raqamlangan kartochka ===== */
#sInfo > .stype { position: relative; background: rgba(255,255,255,.75); border-radius: 22px; padding: 6px; gap: 6px; box-shadow: 0 8px 22px rgba(40, 30, 120, .06); }
#sInfo > .stype button { position: relative; border: 0; background: transparent; box-shadow: none; justify-content: flex-start; padding: 14px 28px; gap: 18px; }
#sInfo > .stype button svg { width: 44px; height: 44px; color: #5b3df5; }
#sInfo > .stype button b { font-size: 21px; }
#sInfo > .stype button small { font-size: 13.5px; color: #4a4d75; }
#sInfo > .stype button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); box-shadow: 0 10px 24px rgba(75, 47, 224, .3), 0 0 0 3px #fff inset; }
#sInfo > .stype button.on svg, #sInfo > .stype button.on small { color: #ece8ff; }
#sInfo > .stype button.on::after { content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); border: 11px solid transparent; border-top-color: #4b2fe0; border-bottom: 0; }
.snum, .shead { display: flex; align-items: center; gap: 12px; }
.snum { margin: -2px 0 14px; padding-bottom: 12px; border-bottom: 1px solid #eeecfa; font: 800 18px Inter, sans-serif; color: #1b1d4a; }
.snum i, .snum-i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #7a5cff, #5b3df5); color: #fff; font: 800 16px Inter, sans-serif; font-style: normal; box-shadow: 0 6px 14px rgba(91, 61, 245, .3); }
.sf-left > .shead, .sf-res > .shead { margin: -2px 0 14px; padding-bottom: 12px; border-bottom: 1px solid #eeecfa; font-size: 18px; }
.s-ready { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: #e3f7e9; color: #137a32; font: 800 13px Inter, sans-serif; font-style: normal; white-space: nowrap; }
.s-ready[hidden] { display: none; }
#sSizeNote { font-weight: 500; color: #4a4d75; }
#sSizes [data-size][hidden] { display: none !important; }
@media (min-width: 721px) {
  #sInfo .sgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr) !important; gap: 18px !important; }
  #sInfo .scard.sforma { background: none; border: 0; box-shadow: none; padding: 0; }
  #sInfo .sf-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 18px !important; }
  #sInfo .sf-left, #sInfo .sf-res { background: #fff; border: 1px solid #e7e5f7; border-radius: 20px; padding: 16px 18px 18px; box-shadow: 0 8px 22px rgba(40, 30, 120, .06); min-width: 0; }
  .sleft .ssizes { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .sleft .ssizes button span { font-size: 14px !important; }
}
@media (max-width: 720px) {
  #sInfo .sf-left, #sInfo .sf-res { background: #fff; border: 1px solid #e7e5f7; border-radius: 16px; padding: 14px 12px; }
  #sInfo > .stype button { padding: 10px 10px; gap: 8px; }
  #sInfo > .stype button b { font-size: 14px; }
  #sInfo > .stype button small { display: none; }
  #sInfo > .stype button svg { width: 26px; height: 26px; }
}
#sInfo .sleft .sfield:has(#sMaqsad) { display: none !important; }
/* Formalar ko'p bo'lsa - ro'yxat o'z ichida aylanadi, sahifa uzaymaydi */
@media (min-width: 721px) {
  #sInfo .sf-left .sforms { max-height: 420px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
  #sInfo .sf-left .sform svg, #sInfo .sf-left .sform img { aspect-ratio: 1 / 0.82; }
}
/* Hujjatlar uchun: yuz tuxumchasi namunadagidek (bosh 5%..50%) */
#sInfo:not(.is-rasmiy) ~ * .guide, body:has(#sInfo.on:not(.is-rasmiy)) .guide { left: 30% !important; top: 11% !important; width: 40% !important; height: 44% !important; }
/* profil menyusidagi dumaloq: bosiladigani ko'rinsin */
.td-ava { position: relative; transition: box-shadow .15s; }
.td-ava:hover { box-shadow: 0 0 0 3px rgba(91, 61, 245, .25); }
.td-ava::after { content: "📷"; position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; font-size: 10px; line-height: 18px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.td-ava { overflow: visible !important; }
.td-ava img { border-radius: 50%; }

/* ===== Xizmat kartochkalari: kursor olib borilganda jonlanadi ===== */
#homeBoard .svc, .sp-card {
  transition: transform .25s cubic-bezier(.2,.8,.3,1.3), box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
#homeBoard .svc img, .sp-card .sp-img img {
  transition: transform .35s cubic-bezier(.2,.8,.3,1.4);
}
@media (hover: hover) {
  #homeBoard .svc:hover, .sp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(75, 47, 224, .18) !important;
    border-color: #c9bfff !important;
  }
  #homeBoard .svc:hover img, .sp-card:hover .sp-img img {
    animation: svcWiggle .6s ease-in-out;
    transform: scale(1.08);
  }
}
@keyframes svcWiggle {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.1) rotate(-4deg); }
  60% { transform: scale(1.08) rotate(3deg); }
  100% { transform: scale(1.08) rotate(0); }
}
/* telefonda bosilganda qisqa "bosildi" effekti */
#homeBoard .svc:active, .sp-card:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  #homeBoard .svc, .sp-card, #homeBoard .svc img, .sp-card .sp-img img { transition: none; animation: none !important; }
}

/* ===================== Kirish / ro'yxatdan o'tish oynasi ===================== */
.auth-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(20, 18, 50, .55); backdrop-filter: blur(3px); }
.auth-modal[hidden] { display: none; }
.auth-card { position: relative; width: min(420px, 100%); padding: 26px 26px 22px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px rgba(20, 18, 60, .35); animation: tdIn .2s ease-out; }
.auth-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f3f2fb; color: #4a4d75; font-size: 22px; line-height: 1; cursor: pointer; }
.auth-logo { width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; box-shadow: 0 10px 22px rgba(91, 47, 232, .3); }
.auth-card h2 { margin: 0; text-align: center; font: 800 21px Inter, sans-serif; color: #1b1d4a; }
.auth-sub { margin: 6px 0 16px; text-align: center; font: 500 13.5px Inter, sans-serif; color: #6b6f99; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: #f3f2fb; margin-bottom: 16px; }
.auth-tabs button { height: 40px; border: 0; border-radius: 10px; background: none; font: 700 14px Inter, sans-serif; color: #1b1d4a; cursor: pointer; }
.auth-tabs button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; box-shadow: 0 6px 14px rgba(75, 47, 224, .25); }
.auth-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font: 700 13.5px Inter, sans-serif; color: #1b1d4a; }
.auth-f[hidden] { display: none; }
.auth-f input { height: 48px; padding: 0 14px; border: 1.5px solid #e2dff5; border-radius: 12px; font: 600 16px Inter, sans-serif; color: #1b1d4a; background: #fff; width: 100%; box-sizing: border-box; }
.auth-f input:focus { outline: none; border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .15); }
.auth-tel { display: flex; align-items: stretch; border: 1.5px solid #e2dff5; border-radius: 12px; overflow: hidden; }
.auth-tel:focus-within { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .15); }
.auth-tel b { display: grid; place-items: center; padding: 0 12px; background: #f6f5fc; font: 700 15px Inter, sans-serif; color: #4a4d75; border-right: 1px solid #e2dff5; }
.auth-tel input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.auth-err { margin: 2px 0 10px; padding: 9px 12px; border-radius: 10px; background: #fdecee; color: #c0263a; font: 600 13px Inter, sans-serif; }
.auth-err[hidden] { display: none; }
.auth-go { width: 100%; height: 52px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 800 16px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(75, 47, 224, .3); }
.auth-go:disabled { opacity: .65; cursor: wait; }
.auth-note { margin: 12px 0 0; text-align: center; font: 500 12.5px Inter, sans-serif; color: #6b6f99; }
.auth-note a { color: #5b3df5; font-weight: 700; }
/* profil menyusida */
.td-login { display: block; width: calc(100% - 8px); margin: 6px 4px 8px; height: 42px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 800 14px Inter, sans-serif; cursor: pointer; }
.td-login[hidden], .td-logout[hidden] { display: none !important; }
.td-logout { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; margin-top: 4px; padding: 0 12px; border: 0; border-top: 1px solid #eceefb; border-radius: 0 0 10px 10px; background: none; color: #c0263a; font: 700 14px Inter, sans-serif; text-align: left; cursor: pointer; }
.td-logout svg { width: 20px; height: 20px; }
.td-logout:hover { background: #fdecee; }
body:not(.has-hisob) .td-edit { display: none !important; }
.ainput { flex: 1 1 160px; min-width: 0; height: 42px; padding: 0 12px; border: 1.5px solid #e2dff5; border-radius: 10px; font: 600 14px Inter, sans-serif; }
.ainput:focus { outline: none; border-color: #6a4dff; }
.auth-card { max-height: calc(100vh - 32px); overflow-y: auto; }

/* telefon: kattalashtirish yo'q, pastdan/tepadan tortganda qorayib-miltillash yo'q */
:root { color-scheme: light only; }
html { background: #ffffff; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overscroll-behavior-y: none; }
body { touch-action: pan-x pan-y; -webkit-tap-highlight-color: transparent; }
#frame, canvas, .custom-sign { touch-action: none; }
@media (max-width: 760px) {
  .m-bottom { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; height: calc(66px + env(safe-area-inset-bottom)); }
}
/* tortib yangilash belgisi */
.ptr { position: fixed; top: 0; left: 50%; z-index: 3000; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(40, 30, 120, .22); display: grid; place-items: center; color: #8a86b8; opacity: 0; transform: translate(-50%, -60px); pointer-events: none; }
.ptr-ico, .ptr-ico svg { display: block; width: 22px; height: 22px; }
.ptr.ready { color: #5b3df5; }
.ptr.spin .ptr-ico { animation: ptrSpin .7s linear infinite; }
@keyframes ptrSpin { to { transform: rotate(360deg); } }

/* tepadagi "test rejimi" yuguruvchi yozuvi */
.test-bar { display: flex; overflow: hidden; white-space: nowrap; background: linear-gradient(90deg, #ffb400, #ffd21f, #ffb400); color: #3a2a00; font: 700 13px/30px Inter, "Segoe UI", sans-serif; border-radius: 14px 14px 0 0; }
.test-run { flex: none; display: flex; animation: testRun 38s linear infinite; }
.test-run span { padding: 0 48px; }
@keyframes testRun { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .test-bar { border-radius: 0; font-size: 12px; line-height: 26px; } }
@media (prefers-reduced-motion: reduce) { .test-run { animation-duration: 90s; } }

/* bosh banner (rasmdagidek) */
@media (min-width: 721px) {
  .home-promo .pp-slide.hero:not(.hx-slide) { background: radial-gradient(120% 140% at 0% 0%, #1b1aa0 0%, #1d1d8f 35%, #2a21b8 60%, #5b34e6 100%) !important; }
  .home-promo .pp-slide.hero .pp-text { width: 50%; padding-top: 26px; padding-bottom: 30px; }
  .hx-badge { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 10px; border-radius: 18px; background: rgba(120, 110, 255, .22); border: 1.5px solid rgba(150, 140, 255, .55); color: #fff; font-size: clamp(12.5px, .95vw, 15px); font-weight: 600; }
  .hx-badge svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #3b3df0; color: #fff; box-sizing: content-box; }
  .home-promo .pp-slide.hero .pp-text h2 { margin: 12px 0 4px !important; font-size: clamp(36px, 3.6vw, 62px); letter-spacing: -1px; text-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
  .home-promo .pp-slide.hero .pp-text h2 em, .home-promo .pp-slide.hero .pp-text h3 em { font-style: normal; color: #ffd21f; }
  .home-promo .pp-slide.hero .pp-text h3 { color: #fff !important; font-size: clamp(20px, 1.85vw, 32px) !important; margin: 0 0 12px !important; }
  .hx-lead { padding-left: 14px; border-left: 3px solid #ffd21f; color: #e9e8ff !important; font-size: clamp(13.5px, 1.05vw, 17px) !important; max-width: 520px; }
  .hx-feats { gap: 0 !important; margin-top: 16px !important; }
  .hx-feats span { position: relative; padding: 0 clamp(12px, 1.2vw, 22px); font-size: clamp(11.5px, .9vw, 14.5px) !important; text-align: center; line-height: 1.15; }
  .hx-feats span:first-child { padding-left: 0; }
  .hx-feats span + span::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .25); }
  .hx-feats i { display: grid; place-items: center; width: clamp(40px, 3.2vw, 54px); height: clamp(40px, 3.2vw, 54px); border-radius: 14px; background: linear-gradient(160deg, #4b4ff5, #2d2fc9); border: 1.5px solid rgba(160, 160, 255, .55); box-shadow: 0 6px 14px rgba(0, 0, 40, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }
  .hx-feats i svg { width: 55% !important; height: 55% !important; }
  .hx-go { gap: 10px; height: clamp(46px, 3.4vw, 58px) !important; padding: 0 clamp(22px, 1.8vw, 32px) !important; border-radius: 30px !important; font-size: clamp(15px, 1.2vw, 20px) !important; background: linear-gradient(180deg, #ffe14a, #ffc400) !important; box-shadow: 0 10px 24px rgba(255, 196, 0, .35) !important; }
  .hx-go svg { width: 24px; height: 24px; }
  .hx-arr { margin-left: 4px; font-size: 1.15em; }
  .home-promo .pp-slide.hero .pp-btns { margin-top: 16px; }
  .home-promo .pp-slide.hero .pp-img { max-width: 58% !important; }
  .home-promo .pp-slide.hero .pp-img img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%); mask-image: linear-gradient(90deg, transparent 0, #000 10%); }
}

/* parolni ko'rsatish ko'zchasi */
.auth-pass { position: relative; }
.auth-pass input { padding-right: 50px !important; }
.auth-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; color: #8a86b8; display: grid; place-items: center; cursor: pointer; }
.auth-eye:hover { background: #f3f2fb; color: #5b3df5; }
.auth-eye svg { width: 22px; height: 22px; }
.auth-eye .eye-off, .auth-eye.on .eye-on { display: none; }
.auth-eye.on .eye-off { display: block; }
.auth-eye.on { color: #5b3df5; }

/* admin: ro'yxatdan o'tgan mijozlar */
.acc-ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #ece9ff; color: #5b3df5; font-weight: 800; }
.acc-table tr.acc-on td { background: #effcf3; }
.acc-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #1fbf5b; box-shadow: 0 0 0 0 rgba(31, 191, 91, .6); animation: accPulse 1.6s infinite; }
@keyframes accPulse { 70% { box-shadow: 0 0 0 7px rgba(31, 191, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 191, 91, 0); } }
.acc-live { color: #138a43; }
.asub { margin: 22px 0 10px; font-size: 1.05rem; }
#onlineBadge.green { background: #1fbf5b; color: #fff; }
.acc-table td:nth-child(3) a, .acc-table td:nth-child(4) { white-space: nowrap; }

/* "tiklash" slaydi (yashil) */
@media (min-width: 721px) {
  .home-promo .pp-slide.hx-slide .pp-text { width: 52%; padding-top: 26px; padding-bottom: 30px; }
  .home-promo .pp-slide.hx-slide .pp-text h2 { margin: 12px 0 10px !important; font-size: clamp(36px, 3.6vw, 62px); letter-spacing: -1px; line-height: 1.05; text-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
  .home-promo .pp-slide.hx-slide .pp-text h2 em { font-style: normal; color: #ffd21f; }
  .hx-under { position: relative; display: inline-block; }
  .hx-under::after { content: ""; position: absolute; left: 6%; right: 0; bottom: -.12em; height: .09em; border-radius: 50%; background: #ffd21f; transform: rotate(-1.5deg); }
  .hx-badge-g { background: rgba(10, 60, 55, .35) !important; border-color: rgba(80, 230, 190, .7) !important; }
  .hx-badge-g svg { background: none !important; padding: 0 !important; width: 24px !important; height: 24px !important; }
  .hx-feats-g i { background: rgba(255, 255, 255, .06) !important; border: 2px solid rgba(255, 255, 255, .85) !important; box-shadow: none !important; }
  .home-promo .pp-slide.hx-slide .pp-btns { margin-top: 16px; }
  .home-promo .pp-slide.hx-slide .pp-img { max-width: 50% !important; }
  .home-promo .pp-slide.hx-slide .pp-img img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
  .hx-slide .pp-price { color: #fff; }
}
.hx-feats-g svg { fill: none !important; }

/* ===== Telefon: bosh sahifada reklamalar birin-ketin almashadi ===== */
@media (max-width: 720px) {
  #homeBoard .board-hero { display: none !important; }
  .home-promo { display: block; padding: 12px 12px 0; }
  .home-promo .pp-slider { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 10px 24px rgba(40, 30, 120, .2); isolation: isolate; transform: translateZ(0); }
  .home-promo .pp-track { display: flex; transition: transform .55s cubic-bezier(.22, .8, .3, 1); will-change: transform; }
  .home-promo .pp-slide { position: relative; flex: 0 0 100%; height: 196px; display: flex; align-items: center; color: #fff; overflow: hidden; margin: 0 !important; }
  .home-promo .pp-text { position: relative; z-index: 2; width: 60%; padding: 14px 0 26px 16px; }
  .home-promo .pp-tag, .home-promo .hx-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: auto; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .home-promo .hx-badge svg { width: 13px; height: 13px; flex: none; padding: 0 !important; background: none !important; }
  .home-promo .pp-text h2 { margin: 7px 0 4px; font-size: 21px; font-weight: 800; line-height: 1.08; letter-spacing: -.3px; text-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
  .home-promo .pp-text h2 em, .home-promo .pp-text h3 em { font-style: normal; color: #ffd21f; }
  .home-promo .pp-text h3 { margin: 0 0 6px; font-size: 13.5px; font-weight: 800; line-height: 1.2; color: #fff; }
  .home-promo .pp-text p { margin: 0; font-size: 11.5px; line-height: 1.35; color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .home-promo .pp-slide.hero .pp-text p, .home-promo .pp-feats, .home-promo .pp-price, .home-promo .hx-under::after { display: none !important; }
  .home-promo .hx-lead { border-left: 2px solid #ffd21f; padding-left: 7px; }
  .home-promo .pp-btns { display: flex; margin-top: 9px; }
  .home-promo .pp-go { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 13px; border: 0; border-radius: 16px; background: #ffd21f; color: #1b1d4a; font: 800 12px Inter, sans-serif; text-decoration: none; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); white-space: nowrap; }
  .home-promo .pp-go svg { width: 15px; height: 15px; }
  .home-promo .pp-img { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: 56%; display: block; }
  .home-promo .pp-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .home-promo .pp-slide:not(.wide) .pp-img { width: 44%; display: grid; place-items: center; }
  .home-promo .pp-slide:not(.wide) .pp-img img { width: 82%; height: auto; max-height: 76%; object-fit: contain; background: rgba(255, 255, 255, .92); border-radius: 16px; padding: 8px; -webkit-mask-image: none; mask-image: none; }
  .home-promo .pp-nav { display: none !important; }
  .home-promo .pp-dots { position: absolute; left: 16px; bottom: 9px; z-index: 3; display: flex; gap: 5px; transform: none; }
  .home-promo .pp-dots button { width: 6px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: width .2s; }
  .home-promo .pp-dots button.on { width: 18px; background: #fff; }
}
@media (max-width: 720px) {
  .home-promo .pp-text h2 { font-size: clamp(17px, 5.2vw, 21px); }
  .home-promo .pp-slide.hero:not(.hx-slide) .pp-text h2 { white-space: nowrap; }
  .home-promo .pp-slide.hero .pp-text h3 { font-size: 12.5px; }
  .home-promo .pp-img { width: 52%; }
  .home-promo .pp-slide.hero:not(.hx-slide) .pp-img img { object-position: 72% center; }
}
@media (max-width: 720px) { .home-promo .pp-slide.hero { display: flex; min-height: 0; height: 196px; margin: 0 !important; padding: 0; gap: 0; grid-template-columns: none; border-radius: 0; } }
/* telefon: rasm tepada to'liq, yozuvlar ostida */
@media (max-width: 720px) {
  .home-promo .pp-slide, .home-promo .pp-slide.hero { flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto !important; min-height: 0; }
  .home-promo .pp-img, .home-promo .pp-slide.hero .pp-img, .home-promo .pp-slide:not(.wide) .pp-img { position: relative !important; order: -1; inset: auto !important; width: 100% !important; max-width: none !important; height: auto !important; display: block !important; padding: 10px 10px 0; box-sizing: border-box; }
  .home-promo .pp-img img, .home-promo .pp-slide.hero:not(.hx-slide) .pp-img img, .home-promo .pp-slide:not(.wide) .pp-img img { display: block; width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: auto; object-fit: contain !important; object-position: center !important; -webkit-mask-image: none !important; mask-image: none !important; border-radius: 14px; padding: 0; background: none; }
  .home-promo .pp-slide:not(.wide) .pp-img img { width: auto !important; height: 150px !important; margin: 0 auto; background: rgba(255, 255, 255, .92); padding: 8px; box-sizing: border-box; }
  .home-promo .pp-text, .home-promo .pp-slide.hero .pp-text, .home-promo .pp-slide.hx-slide .pp-text { width: 100% !important; padding: 10px 16px 30px !important; box-sizing: border-box; }
  .home-promo .pp-text h2 { font-size: 21px; margin: 7px 0 4px; }
  .home-promo .pp-slide.hero:not(.hx-slide) .pp-text h2 { white-space: normal; }
  .home-promo .pp-dots { left: 50%; transform: translateX(-50%); bottom: 10px; }
}
@media (max-width: 720px) { .home-promo .pp-slide.wide .pp-img img, .home-promo .pp-slide.hero .pp-img img { height: 180px !important; width: 100% !important; } }

/* "telefon" slaydi (ko'k) */
.hx-badge-b { background: rgba(20, 70, 200, .35) !important; border-color: rgba(110, 170, 255, .8) !important; }
.hx-badge-b svg { background: none !important; padding: 0 !important; width: 20px !important; height: 20px !important; }
.hx-blue .hx-lead { border-left-color: #35b4ff !important; }
.hx-blue .hx-feats-g i { border-color: rgba(150, 200, 255, .9) !important; background: rgba(40, 90, 230, .35) !important; box-shadow: 0 0 14px rgba(80, 160, 255, .35) !important; }
.hx-seal { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(20, 30, 110, .72); border: 1px solid rgba(140, 170, 255, .6); backdrop-filter: blur(4px); color: #fff; font: 700 13px/1.2 Inter, sans-serif; }
.hx-seal svg { width: 34px; height: 34px; flex: none; }
@media (max-width: 720px) { .hx-seal { right: 16px; bottom: 6px; padding: 5px 9px 5px 5px; font-size: 10.5px; border-radius: 12px; } .hx-seal svg { width: 24px; height: 24px; } }
/* telefon: slayd ostida faqat "Buyurtma berish" tugmasi */
@media (max-width: 720px) {
  .home-promo .pp-text .pp-tag, .home-promo .pp-text .hx-badge, .home-promo .pp-text h2, .home-promo .pp-text h3, .home-promo .pp-text p { display: none !important; }
  .home-promo .pp-text, .home-promo .pp-slide.hero .pp-text, .home-promo .pp-slide.hx-slide .pp-text { padding: 10px 16px 26px !important; }
  .home-promo .pp-btns { margin-top: 0 !important; justify-content: center; }
  .home-promo .pp-go { height: 40px; padding: 0 22px; font-size: 14px; border-radius: 20px; }
}

/* ===================== Telefon ta'mirlash: zamonaviy sahifa ===================== */
#customStep.tr-mode > #customTitle, #customStep.tr-mode > #customNote, #customStep.tr-mode > #customFields, #customStep.tr-mode > .nav, #customStep.tr-mode > #customErr { display: none !important; }
body.tr-open #whero, body.tr-open #contactBox, body.tr-open #tgBox { display: none !important; }
body.tr-open #work { max-width: min(1320px, 100%) !important; width: 100% !important; padding-left: clamp(12px, 2vw, 28px) !important; padding-right: clamp(12px, 2vw, 28px) !important; box-sizing: border-box; }
#customStep.tr-mode { max-width: none !important; width: 100% !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.tr { --tr-a: #6a4dff; --tr-b: #2f6bff; --tr-ink: #1b1d4a; --tr-mut: #6b6f99; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; font-family: Inter, "Segoe UI", sans-serif; color: var(--tr-ink); }
.tr[hidden] { display: none !important; }
.tr-main { position: relative; padding: 18px; border-radius: 26px; background: linear-gradient(135deg, #3b2bd9 0%, #4f3cf0 35%, #2f6bff 100%); box-shadow: 0 20px 44px rgba(50, 40, 160, .28); overflow: hidden; isolation: isolate; }
.tr-main::before, .tr-main::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.tr-main::before { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }
.tr-main::after { width: 360px; height: 360px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(140, 220, 255, .22), transparent 70%); }
.tr-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #fff; margin-bottom: 14px; }
.tr-head h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.4px; }
.tr-head p { margin: 3px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.tr-contacts { display: flex; gap: 8px; flex: none; }
.tr-contacts a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tr-contacts a svg { width: 18px; height: 18px; }
.tr-tg { background: #2aa3ef; } .tr-wa { background: #22c35e; }
.tr-contacts a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.tr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tr-card { padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 8px 22px rgba(30, 20, 120, .1); }
.tr-main .tr-card { background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tr-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.tr-card h3 b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); color: #fff; font-size: 12.5px; flex: none; }
.tr-card h3 small { font-weight: 600; color: var(--tr-mut); font-size: 12px; }
.tr-faults-card, .tr-extra { grid-column: 1 / -1; }
/* qurilma turi */
.tr-devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tr-device { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border: 1.5px solid #e4e1f7; border-radius: 16px; background: #fff; color: var(--tr-ink); font: 700 12.5px Inter, sans-serif; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s, background .15s; }
.tr-device span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f1eeff; color: var(--tr-a); transition: background .15s, color .15s; }
.tr-device svg { width: 24px; height: 24px; }
.tr-device:hover { transform: translateY(-2px); border-color: #c9c0ff; box-shadow: 0 8px 16px rgba(80, 60, 220, .12); }
.tr-device.on { border-color: var(--tr-a); background: linear-gradient(180deg, #f6f3ff, #fff); box-shadow: 0 0 0 3px rgba(106, 77, 255, .16); }
.tr-device.on span { background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); color: #fff; }
/* marka */
.tr-brands { display: flex; flex-wrap: wrap; gap: 6px; max-height: 98px; overflow-y: auto; padding: 2px; margin-bottom: 10px; scrollbar-width: thin; }
.tr-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 4px; border: 1.5px solid #e4e1f7; border-radius: 15px; background: #fff; color: var(--tr-ink); font: 700 12.5px Inter, sans-serif; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.tr-chip i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.tr-chip:hover { border-color: #c9c0ff; transform: translateY(-1px); }
.tr-chip.on { border-color: var(--tr-a); background: #f1eeff; color: #3a22c9; }
.tr-model { position: relative; }
.tr-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 12px; border: 1.5px solid #e4e1f7; border-radius: 13px; background: #fff; color: var(--tr-mut); transition: border-color .15s, box-shadow .15s; }
.tr-search:focus-within { border-color: var(--tr-a); box-shadow: 0 0 0 3px rgba(106, 77, 255, .14); }
.tr-search svg { width: 18px; height: 18px; flex: none; }
.tr-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 600 14px Inter, sans-serif; color: var(--tr-ink); }
.tr-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #f1eeff; color: #5b3df5; font-size: 17px; line-height: 1; cursor: pointer; }
.tr-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid #e4e1f7; box-shadow: 0 16px 36px rgba(30, 20, 120, .2); }
.tr-list[hidden] { display: none; }
.tr-cat { position: sticky; top: -6px; padding: 7px 8px 4px; background: #fff; font-size: 11px; font-weight: 800; color: #8a86b8; text-transform: uppercase; letter-spacing: .4px; }
.tr-list button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; text-align: left; font: 600 13.5px Inter, sans-serif; color: var(--tr-ink); cursor: pointer; }
.tr-list button:hover, .tr-list button.on { background: #f1eeff; color: #3a22c9; }
.tr-empty { margin: 6px 8px; font-size: 12.5px; color: var(--tr-mut); }
.tr-other input, .tr-extra textarea, .tr-two input { width: 100%; box-sizing: border-box; border: 1.5px solid #e4e1f7; border-radius: 13px; background: #fff; font: 600 14px Inter, sans-serif; color: var(--tr-ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.tr-other input, .tr-two input { height: 42px; padding: 0 12px; }
.tr-other { margin-bottom: 10px; }
.tr-other input:focus, .tr-extra textarea:focus, .tr-two input:focus { border-color: var(--tr-a); box-shadow: 0 0 0 3px rgba(106, 77, 255, .14); }
/* nosozliklar */
.tr-faults { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.tr-fault { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 84px; padding: 10px 4px 8px; border: 1.5px solid #e4e1f7; border-radius: 16px; background: #fff; color: var(--tr-ink); cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s, background .15s; }
.tr-fault span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #f1eeff; color: var(--tr-a); transition: background .15s, color .15s; }
.tr-fault span svg { width: 21px; height: 21px; }
.tr-fault em { font-style: normal; font: 700 11.5px/1.2 Inter, sans-serif; text-align: center; }
.tr-fault i { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--tr-a); color: #fff; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .15s; }
.tr-fault i svg { width: 11px; height: 11px; }
.tr-fault:hover { transform: translateY(-2px); border-color: #c9c0ff; box-shadow: 0 8px 16px rgba(80, 60, 220, .12); }
.tr-fault.on { border-color: var(--tr-a); background: linear-gradient(180deg, #f6f3ff, #fff); box-shadow: 0 0 0 3px rgba(106, 77, 255, .14); }
.tr-fault.on span { background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); color: #fff; }
.tr-fault.on i { opacity: 1; transform: none; }
/* izoh va aloqa */
.tr-extra { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: end; }
.tr-extra h3 { grid-column: 1 / -1; margin-bottom: 0; }
.tr-extra textarea { height: 88px; padding: 10px 12px; resize: none; }
.tr-two { display: grid; gap: 8px; }
.tr-two label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--tr-mut); }
.tr-tel { display: flex; align-items: stretch; border: 1.5px solid #e4e1f7; border-radius: 13px; overflow: hidden; background: #fff; }
.tr-tel:focus-within { border-color: var(--tr-a); box-shadow: 0 0 0 3px rgba(106, 77, 255, .14); }
.tr-tel b { display: grid; place-items: center; padding: 0 10px; background: #f6f5fc; color: #4a4d75; font-size: 14px; border-right: 1px solid #e4e1f7; }
.tr-tel input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
/* tekshirish */
.tr-review { padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .95); }
.tr-review h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.tr-rv div, #trSum div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e4e1f7; font-size: 14px; }
.tr-rv div:last-child, #trSum div:last-child { border-bottom: 0; }
.tr-rv span, #trSum span { color: var(--tr-mut); font-weight: 600; }
.tr-rv b, #trSum b { font-weight: 700; white-space: pre-line; word-break: break-word; }
.tr-rvnote { margin: 12px 0 0; font-size: 13px; color: var(--tr-mut); }
/* tugmalar */
.tr-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.tr-back { height: 46px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font: 700 14px Inter, sans-serif; cursor: pointer; }
.tr-back:hover { background: rgba(255, 255, 255, .22); }
.tr-err { flex: 1; padding: 9px 12px; border-radius: 12px; background: #fff0f2; color: #c0263a; font-size: 13px; font-weight: 700; }
.tr-err[hidden] { display: none; }
.tr-go { margin-left: auto; height: 50px; padding: 0 28px; border: 0; border-radius: 15px; background: linear-gradient(180deg, #ffe14a, #ffc400); color: #1b1d4a; font: 800 15.5px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(255, 196, 0, .35); transition: transform .15s, box-shadow .15s; }
.tr-go:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(255, 196, 0, .45); }
.tr-go:disabled { opacity: .7; cursor: wait; transform: none; }
.tr-shake { animation: trShake .45s; }
@keyframes trShake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
/* o'ng ustun */
.tr-side { display: flex; flex-direction: column; gap: 12px; }
.tr-side .tr-card { border: 1px solid #eceafa; }
#trSum div { grid-template-columns: 74px 1fr; padding: 7px 0; font-size: 13px; }
.tr-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tr-how li { display: flex; gap: 10px; align-items: flex-start; }
.tr-how li > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); color: #fff; font-size: 13px; }
.tr-how strong { display: block; font-size: 13.5px; }
.tr-how small { display: block; font-size: 12px; color: var(--tr-mut); }
.tr-pros > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tr-pros span { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 14px; background: #f6f4ff; transition: transform .15s; }
.tr-pros span:hover { transform: translateY(-2px); }
.tr-pros i { font-style: normal; font-size: 20px; }
.tr-pros strong { font-size: 13px; }
.tr-pros small { font-size: 11.5px; color: var(--tr-mut); }
/* o'rta ekranlar */
@media (max-width: 1180px) {
  .tr { grid-template-columns: 1fr; }
  .tr-side { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .tr-faults { grid-template-columns: repeat(5, 1fr); }
}
/* telefon */
@media (max-width: 760px) {
  body.tr-open #work { padding-left: 10px !important; padding-right: 10px !important; margin-top: 10px !important; }
  .tr { gap: 12px; }
  .tr-main { padding: 14px 12px; border-radius: 22px; }
  .tr-head { flex-direction: column; align-items: flex-start; }
  .tr-contacts { width: 100%; } .tr-contacts a { flex: 1; justify-content: center; }
  .tr-form { grid-template-columns: 1fr; gap: 10px; }
  .tr-card { padding: 12px; border-radius: 18px; }
  .tr-devices { gap: 6px; }
  .tr-device { padding: 10px 2px 8px; font-size: 11.5px; }
  .tr-device span { width: 38px; height: 38px; }
  .tr-brands { max-height: none; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; }
  .tr-chip { flex: none; }
  .tr-faults { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tr-fault { min-height: 80px; }
  .tr-extra { grid-template-columns: 1fr; }
  .tr-side { grid-template-columns: 1fr; }
  .tr-sum { order: -1; }
  .tr-actions { position: sticky; bottom: 8px; z-index: 5; flex-wrap: wrap; padding: 10px; margin: 12px -4px 0; border-radius: 18px; background: rgba(40, 30, 160, .85); backdrop-filter: blur(6px); }
  .tr-err { order: -1; flex-basis: 100%; }
  .tr-go { flex: 1; padding: 0 14px; }
  .tr-back { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .tr * { transition: none !important; animation: none !important; } }

/* ta'mirlash sahifasi ixchamroq (kompyuterda bir ekranga sig'sin) */
@media (min-width: 761px) {
  .tr-main { padding: 16px 18px; }
  .tr-head { margin-bottom: 10px; }
  .tr-form { gap: 10px; }
  .tr-card { padding: 12px 14px; }
  .tr-card h3 { margin-bottom: 8px; }
  .tr-fault { min-height: 74px; padding: 8px 4px 7px; gap: 4px; }
  .tr-fault span { width: 32px; height: 32px; }
  .tr-extra textarea { height: 72px; }
  .tr-two { grid-template-columns: 1fr 1fr; }
  .tr-actions { margin-top: 10px; }
  .tr-side { gap: 10px; }
  .tr-side .tr-card { padding: 12px 14px; }
}
/* ta'mirlash: eski umumiy tugma qoidalari kataklarni kengaytirmasin */
.tr button { min-width: 0 !important; width: auto; max-width: 100%; box-sizing: border-box; }
.tr-devices { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.tr-faults { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tr-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-pros > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-list button { width: 100% !important; }
@media (max-width: 1180px) { .tr-faults { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tr-side { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tr-form, .tr-side, .tr-extra, .tr-two { grid-template-columns: minmax(0, 1fr) !important; }
  .tr-faults { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .tr-main, .tr-card { min-width: 0; }
}
@media (max-width: 760px) { html, body { overflow-x: clip; } }
/* ta'mirlash: model ro'yxati boshqa kartalar ustida chiqsin */
.tr-brand { position: relative; z-index: 6; }
.tr-main .tr-card.tr-brand { overflow: visible; }

/* ta'mirlash: kompyuterda butun sahifa bir ekranga sig'sin */
@media (min-width: 761px) {
  body.tr-open #work .crumbs { display: none !important; }
  body.tr-open #work { margin-top: 12px !important; }
  .tr { grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; }
  .tr-main { padding: 14px 16px; border-radius: 22px; }
  .tr-head { margin-bottom: 10px; }
  .tr-head h2 { font-size: 24px; }
  .tr-head p { font-size: 13px; margin-top: 1px; }
  .tr-contacts a { height: 36px; }
  .tr-form { gap: 10px; }
  .tr-card { padding: 11px 13px; border-radius: 18px; }
  .tr-card h3 { margin-bottom: 8px; font-size: 14.5px; }
  /* qurilmalar: pastroq kartalar */
  .tr-device { flex-direction: row; justify-content: center; gap: 8px; padding: 9px 6px; font-size: 12.5px; text-align: left; }
  .tr-device span { width: 34px; height: 34px; border-radius: 11px; flex: none; }
  .tr-device svg { width: 20px; height: 20px; }
  .tr-devices { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .tr-brands { max-height: 66px; margin-bottom: 8px; }
  .tr-chip { height: 28px; }
  .tr-search { height: 38px; }
  /* nosozliklar: belgi yonida matn */
  .tr-faults { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 6px; }
  .tr-fault { flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; min-height: 0; height: 44px; padding: 0 22px 0 7px; border-radius: 13px; text-align: left; }
  .tr-fault span { width: 30px; height: 30px; border-radius: 9px; flex: none; }
  .tr-fault span svg { width: 18px; height: 18px; }
  .tr-fault em { text-align: left; font-size: 12px; }
  .tr-fault i { top: 50%; right: 6px; margin-top: -9px; }
  /* izoh va aloqa bitta qatorda */
  .tr-extra { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
  .tr-extra textarea { height: 42px; padding: 10px 12px; }
  .tr-two { display: contents; }
  .tr-two input, .tr-tel { height: 42px; }
  .tr-actions { margin-top: 10px; }
  .tr-go { height: 46px; }
  .tr-back { height: 44px; }
  /* o'ng ustun ixcham */
  .tr-side { gap: 10px; }
  .tr-side .tr-card { padding: 11px 13px; }
  #trSum div { padding: 5px 0; font-size: 12.5px; grid-template-columns: 68px 1fr; }
  .tr-how ol { gap: 7px; }
  .tr-how li > b { width: 24px; height: 24px; font-size: 12px; }
  .tr-how strong { font-size: 12.5px; } .tr-how small { font-size: 11.5px; }
  .tr-pros span { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 6px; row-gap: 0; padding: 7px 9px; border-radius: 12px; }
  .tr-pros i { font-size: 16px; }
  .tr-pros strong { font-size: 12.5px; }
  .tr-pros small { flex-basis: 100%; font-size: 11px; line-height: 1.25; }
}
@media (min-width: 761px) and (max-width: 1180px) { .tr-faults { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (min-width: 1500px) { .tr-faults { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; } }
/* ta'mirlash: butun ekran eniga */
@media (min-width: 761px) {
  body.tr-open #work { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: var(--page-pad, 24px) !important; padding-right: var(--page-pad, 24px) !important; }
  .tr { grid-template-columns: minmax(0, 1fr) clamp(300px, 22vw, 380px); }
  .tr-extra { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.2fr); }
}
/* telefon suratlari */
.tr-photos { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tr-plabel { font-size: 12px; font-weight: 700; color: var(--tr-mut); }
.tr-plabel small { font-weight: 600; }
.tr-pbox { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 42px; }
.tr-padd { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1.5px dashed #c9c0ff; border-radius: 13px; background: #f8f6ff; color: #4b2fe0; font: 700 12.5px Inter, sans-serif; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.tr-padd:hover { background: #efeaff; border-color: var(--tr-a); }
.tr-padd[hidden] { display: none; }
.tr-padd svg { width: 18px; height: 18px; flex: none; }
.tr-pth { position: relative; width: 42px; height: 42px; flex: none; }
.tr-pth img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1.5px solid #e4e1f7; }
.tr-pth button { position: absolute; top: -6px; right: -6px; width: 20px !important; height: 20px; padding: 0; border: 0; border-radius: 50%; background: #e53950; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.tr-rvph { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; grid-template-columns: none !important; border: 0 !important; }
.tr-rvph img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; border: 1px solid #e4e1f7; }
@media (min-width: 761px) and (max-width: 1400px) { .tr-padd { padding: 0 9px; font-size: 12px; } }
@media (max-width: 760px) { .tr-pbox { gap: 8px; } .tr-padd { flex: 1; justify-content: center; } .tr-pth { width: 56px; height: 56px; } }

/* admin: telefon ta'mirlash buyurtmasi ekranda */
.drepair { margin: 14px 0; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #f6f3ff, #eef4ff); border: 1px solid #e2dcff; }
.drepair h3 { margin: 0 0 10px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.drepair dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; }
.drepair dt { color: #6b6f99; font-weight: 600; }
.drepair dd { margin: 0; font-weight: 700; white-space: pre-line; word-break: break-word; }
.drepair .dfaults { display: flex; flex-wrap: wrap; gap: 6px; }
.drepair .dfaults span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #d9d1ff; color: #3a22c9; font-size: 12.5px; font-weight: 700; }
.drepair .dphoto { display: block; margin-top: 12px; }
.drepair .dphoto img { max-width: 100%; max-height: 360px; border-radius: 12px; border: 1px solid #e2dcff; cursor: zoom-in; }
.drepair .dnophoto { margin-top: 10px; color: #8a86b8; font-size: 13px; }
/* ta'mirlash: bo'yiga ham ekranni to'ldirsin (kompyuter) */
@media (min-width: 761px) and (min-height: 700px) {
  body.tr-open .tr { min-height: calc(100vh - 190px); }
  .tr-main { display: flex; flex-direction: column; }
  .tr-main > .tr-form:not([hidden]), .tr-main > .tr-review:not([hidden]) { flex: 1; }
  .tr-form { grid-template-rows: auto 1fr auto; }
  .tr-faults-card { display: flex; flex-direction: column; }
  .tr-faults { flex: 1; grid-auto-rows: 1fr; }
  .tr-fault { height: auto !important; min-height: 44px; }
  .tr-side { justify-content: space-between; }
  .tr-side .tr-card { flex: 1; }
}

/* ===================== Telefon ta'mirlash: 2-dizayn (to'q fon, shisha kartalar) ===================== */
body.tr-open { background: radial-gradient(1200px 700px at 85% 10%, rgba(140, 80, 255, .35), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(40, 140, 255, .3), transparent 60%), linear-gradient(160deg, #0a1250 0%, #14208a 45%, #2a1aa0 100%) fixed !important; }
body.tr-open main, body.tr-open #work { background: transparent !important; box-shadow: none !important; }
body.tr-open #siteTop { background: rgba(10, 18, 80, .92) !important; box-shadow: 0 6px 20px rgba(0, 0, 20, .35) !important; }
body.tr-open #siteTop .topbar { background: transparent !important; border: 0 !important; }
body.tr-open #siteTop .topbar nav a, body.tr-open #siteTop .topbar .brand-name, body.tr-open #siteTop .topbar b, body.tr-open #siteTop .topbar small, body.tr-open #siteTop .topbar a > div, body.tr-open #siteTop .topbar a > span:not(.top-ava) { color: #fff !important; }
body.tr-open #siteTop .topbar nav a.on, body.tr-open #siteTop .topbar nav a[aria-current] { background: linear-gradient(135deg, #5b5cff, #8a4dff) !important; border-radius: 12px; color: #fff !important; }
body.tr-open #siteTop .top-bell { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }

.tr { --tr-a: #6a4dff; --tr-b: #3f6bff; }
.tr-main { background: none !important; box-shadow: none !important; padding: 0 !important; overflow: visible !important; }
.tr-main::before, .tr-main::after { display: none !important; }
.tr-card, .tr-main .tr-card, .tr-side .tr-card { background: rgba(244, 245, 255, .95) !important; border: 1px solid rgba(255, 255, 255, .55) !important; box-shadow: 0 10px 28px rgba(5, 10, 60, .35), inset 0 1px 0 rgba(255, 255, 255, .8) !important; }
.tr-card h3 { font-size: 17px; }
.tr-card h3 b { width: 30px; height: 30px; border-radius: 10px; font-size: 15px; box-shadow: 0 4px 10px rgba(80, 60, 255, .35); }
.tr-card h3 small { font-size: 13px; }
/* sarlavha kartasi */
.tr-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 12px !important; border-radius: 22px; background: linear-gradient(100deg, rgba(60, 90, 255, .45), rgba(30, 40, 160, .35) 60%, rgba(90, 50, 220, .4)); border: 1px solid rgba(150, 175, 255, .45); box-shadow: 0 12px 30px rgba(0, 0, 40, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.tr-hico { display: grid; place-items: center; width: 62px; height: 62px; flex: none; border-radius: 18px; background: linear-gradient(135deg, #8a5bff, #4b5cff); color: #fff; box-shadow: 0 8px 20px rgba(110, 80, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.tr-hico svg { width: 34px; height: 34px; }
.tr-htxt { flex: 1; min-width: 0; }
.tr-head h2 { font-size: clamp(24px, 2vw, 32px) !important; }
.tr-head p { font-size: 15px !important; color: rgba(255, 255, 255, .85) !important; }
.tr-hart { position: absolute; left: 50%; top: -26px; width: 120px; height: 120px; filter: drop-shadow(0 10px 20px rgba(60, 120, 255, .55)); pointer-events: none; }
.tr-hart svg { width: 100%; height: 100%; }
.tr-contacts a { height: 46px !important; padding: 0 20px !important; border-radius: 14px !important; font-size: 15px !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .3); }
.tr-tg { background: linear-gradient(180deg, #3ab4ff, #1e8fe6) !important; }
.tr-wa { background: linear-gradient(180deg, #33d36e, #18a84b) !important; }
/* qurilma kartalari: to'rtta, ustma-ust belgi va nom */
.tr-devices { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 10px !important; }
.tr-device { position: relative; flex-direction: column !important; gap: 8px !important; padding: 14px 6px 12px !important; border-radius: 18px !important; font-size: 14px !important; background: linear-gradient(180deg, #fff, #f1f2ff) !important; box-shadow: 0 4px 12px rgba(40, 40, 140, .1); }
.tr-device span { width: auto !important; height: auto !important; background: none !important; color: #5b3df5 !important; }
.tr-device svg { width: 34px !important; height: 34px !important; }
.tr-device.on { background: linear-gradient(160deg, #8a5bff, #4b5cff) !important; color: #fff !important; border-color: #b9a9ff !important; box-shadow: 0 10px 24px rgba(90, 70, 255, .45), 0 0 0 3px rgba(160, 140, 255, .35) !important; }
.tr-device.on span { color: #fff !important; background: none !important; }
.tr-ok { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #5b3df5; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .15s; }
.tr-ok svg { width: 14px; height: 14px; }
.tr-device.on .tr-ok { opacity: 1; transform: none; }
/* markalar */
.tr-chip { height: 38px !important; padding: 0 14px 0 5px !important; border-radius: 19px !important; font-size: 14px !important; background: #fff !important; box-shadow: 0 3px 8px rgba(40, 40, 140, .08); }
.tr-chip i { width: 28px !important; height: 28px !important; font-size: 13px !important; }
.tr-brands { max-height: 92px !important; gap: 8px !important; }
.tr-search { height: 48px !important; border-radius: 16px !important; font-size: 15px; }
.tr-search input { font-size: 15px !important; }
/* nosozliklar */
.tr-fault { background: linear-gradient(180deg, #fff, #f4f4ff) !important; border-radius: 16px !important; box-shadow: 0 3px 10px rgba(40, 40, 140, .08); padding-left: 10px !important; gap: 10px !important; }
.tr-fault span { background: none !important; color: #6a4dff !important; width: 32px !important; height: 32px !important; }
.tr-fault span svg { width: 26px !important; height: 26px !important; }
.tr-fault em { font-size: 14px !important; line-height: 1.15 !important; }
.tr-fault.on { background: linear-gradient(160deg, #f1ecff, #e6ecff) !important; }
.tr-fault.on span { color: #4b2fe0 !important; background: none !important; }
/* izoh va aloqa */
.tr-pen { background: linear-gradient(135deg, #8a5bff, #4b5cff) !important; }
.tr-pen svg { width: 17px; height: 17px; }
.tr-notebox { position: relative; }
.tr-notebox textarea { width: 100%; height: 76px !important; padding-bottom: 20px !important; font-size: 15px !important; border-radius: 16px !important; }
.tr-notebox small { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: #8a86b8; }
.tr-two label > span { display: flex; align-items: center; gap: 7px; font-size: 14px !important; color: #1b1d4a !important; }
.tr-two label > span svg { width: 18px; height: 18px; color: #6a4dff; }
.tr-two input, .tr-tel { height: 48px !important; border-radius: 14px !important; font-size: 15px !important; }
.tr-tel b { font-size: 15px !important; padding: 0 14px !important; }
/* pastki panel va qadamlar */
.tr-actions { position: relative; align-items: center; gap: 18px !important; margin-top: 14px !important; }
.tr-err { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); z-index: 3; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.tr-back { height: 54px !important; padding: 0 28px !important; border-radius: 16px !important; font-size: 17px !important; background: linear-gradient(180deg, #3b3fd6, #2a2aa8) !important; border: 1px solid rgba(160, 170, 255, .5) !important; box-shadow: 0 8px 18px rgba(0, 0, 40, .35); }
.tr-go { height: 58px !important; padding: 0 44px !important; border-radius: 18px !important; font-size: 19px !important; }
.tr-steps { flex: 1; display: flex; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.tr-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 110px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 700; }
.tr-steps li + li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: rgba(255, 255, 255, .35); z-index: 0; }
.tr-steps li.done + li::before { background: #fff; }
.tr-steps b { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #3a22c9; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 40, .3); }
.tr-steps b em { font-style: normal; }
.tr-steps b svg { display: none; width: 18px; height: 18px; }
.tr-steps li.done b { background: linear-gradient(135deg, #8a5bff, #4b5cff); color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 4px 12px rgba(0, 0, 40, .3); }
.tr-steps li.done b em { display: none; }
.tr-steps li.done b svg { display: block; }
.tr-steps li.cur b { box-shadow: 0 0 0 3px rgba(160, 140, 255, .8), 0 4px 12px rgba(0, 0, 40, .3); }
.tr-steps li.done span, .tr-steps li.cur span { color: #fff; }
/* o'ng ustun */
.tr-sico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #8a5bff, #4b5cff); color: #fff; font-style: normal; }
.tr-sico svg { width: 19px; height: 19px; }
.tr-side h3 { font-size: 18px !important; gap: 10px !important; }
#trSum { padding: 6px 12px; border-radius: 14px; background: #fff; }
#trSum div { grid-template-columns: 84px 1fr !important; font-size: 14px !important; padding: 6px 0 !important; }
#trSum span { color: #1b1d4a !important; font-weight: 700 !important; }
.tr-how li { align-items: center !important; gap: 10px !important; padding: 6px 8px; border-radius: 12px; background: #fff; }
.tr-how li > b { width: 30px !important; height: 30px !important; font-size: 14px !important; }
.tr-hwi { display: grid; place-items: center; width: 30px; height: 30px; flex: none; color: #6a4dff; font-style: normal; }
.tr-hwi svg { width: 24px; height: 24px; }
.tr-how strong { font-size: 14.5px !important; }
.tr-how small { font-size: 12.5px !important; }
.tr-pros span { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 10px !important; padding: 12px !important; border-radius: 14px !important; background: #fff !important; }
.tr-pros span > i { display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: #6a4dff; font-style: normal; }
.tr-pros span > i svg { width: 28px; height: 28px; }
.tr-pros span:first-child > i { color: #ffb300; }
.tr-pros span > b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr-pros strong { font-size: 15px !important; }
.tr-pros small { flex-basis: auto !important; font-size: 12.5px !important; }
/* o'rta ekran */
@media (min-width: 761px) and (max-width: 1500px) {
  .tr-hart { display: none; }
  .tr-steps li { width: 84px; font-size: 12.5px; }
  .tr-go { padding: 0 26px !important; font-size: 17px !important; }
  .tr-fault em { font-size: 12.5px !important; }
  .tr-device { font-size: 12.5px !important; } .tr-device svg { width: 28px !important; height: 28px !important; }
}
/* telefon */
@media (max-width: 760px) {
  .tr-hart { display: none; }
  .tr-head { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .tr-hico { width: 48px; height: 48px; border-radius: 14px; }
  .tr-hico svg { width: 26px; height: 26px; }
  .tr-htxt { flex: 1 1 calc(100% - 64px); }
  .tr-head h2 { font-size: 21px !important; }
  .tr-head p { font-size: 13px !important; }
  .tr-device { padding: 10px 2px 9px !important; font-size: 11.5px !important; }
  .tr-device svg { width: 26px !important; height: 26px !important; }
  .tr-ok { width: 18px; height: 18px; top: 4px; right: 4px; }
  .tr-fault { flex-direction: column !important; align-items: center !important; text-align: center; padding: 8px 4px !important; gap: 4px !important; }
  .tr-fault em { text-align: center !important; font-size: 11.5px !important; }
  .tr-fault i { top: 6px !important; margin-top: 0 !important; }
  .tr-steps { order: -1; flex-basis: 100%; }
  .tr-steps li { width: 25%; font-size: 11px; }
  .tr-steps b { width: 26px; height: 26px; font-size: 12px; }
  .tr-steps li + li::before { top: 12px; }
  .tr-back { height: 46px !important; padding: 0 14px !important; font-size: 14px !important; }
  .tr-go { height: 48px !important; padding: 0 14px !important; font-size: 15px !important; }
  .tr-err { position: static; transform: none; white-space: normal; flex-basis: 100%; }
  .tr-actions { background: rgba(10, 18, 80, .9) !important; }
}
@media (min-width: 761px) {
  body.tr-open #work { padding-bottom: 10px !important; margin-bottom: 0 !important; margin-top: 10px !important; }
  body.tr-open main { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  body.tr-open .tr { min-height: calc(100vh - 150px); }
  .tr-head { padding: 12px 18px !important; }
  .tr-hico { width: 54px; height: 54px; }
}
@media (max-width: 760px) {
  .tr-head { flex-direction: row !important; align-items: center !important; }
  .tr-contacts { flex-basis: 100%; }
  body.tr-open #work .crumbs, body.tr-open #work .crumbs a, body.tr-open #work .crumbs b, body.tr-open #work .crumbs span { color: rgba(255, 255, 255, .85) !important; }
  body.tr-open #siteTop .topbar *:not(svg):not(path):not(img):not(.tg) { color: #fff !important; }
}
body.tr-open #siteTop .topbar .brand b, body.tr-open #siteTop .topbar [class*="brand"] b, body.tr-open #siteTop .topbar [class*="brand"] small, body.tr-open #siteTop .topbar [class*="brand"] div { color: #fff !important; }
body.tr-open #siteTop .topbar span[style*="color"] { color: #fff !important; } body.tr-open #siteTop .topbar span[style*="font-size:11.5px"] { color: rgba(255,255,255,.75) !important; }

/* "Hujjatlar uchun suratlar" slaydi (to'q ko'k + oltin) */
.hx-badge-gold { background: rgba(20, 30, 110, .55) !important; border-color: rgba(120, 140, 255, .75) !important; }
.hx-badge-gold svg { background: none !important; padding: 0 !important; width: 22px !important; height: 22px !important; }
@media (min-width: 721px) {
  .home-promo .pp-slide.hx-gold .pp-text h2.hx-italic { font-style: italic; font-weight: 900; letter-spacing: -1px; line-height: 1.02; }
  .home-promo .pp-slide.hx-gold .pp-text h2 em.hx-goldtxt { display: inline-block; font-style: italic; color: transparent !important; background: linear-gradient(180deg, #ffe58a 0%, #ffc21a 55%, #e09a00 100%); -webkit-background-clip: text; background-clip: text; text-shadow: none; padding-right: .08em; }
  .hx-gold .hx-lead-plain { border-left: 0 !important; padding-left: 0 !important; }
  .hx-gold .hx-lead-plain b { color: #fff; font-weight: 700; }
  .hx-feats-box { gap: 12px !important; }
  .hx-feats-box span { padding: 10px 12px !important; min-width: 96px; border-radius: 16px; background: rgba(40, 50, 170, .35); border: 1.5px solid rgba(120, 130, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
  .hx-feats-box span::before { display: none !important; }
  .hx-feats-box i { width: auto !important; height: auto !important; background: none !important; border: 0 !important; box-shadow: none !important; color: #ffc928; }
  .hx-feats-box i svg { width: 30px !important; height: 30px !important; }
  .home-promo .pp-slide.hx-gold .pp-img { max-width: 58% !important; }
}
.hx-feats-box i svg { fill: none; }
.hx-feats-box span:first-child i svg { fill: currentColor; }
@media (max-width: 760px) { .tr-side { display: none !important; } }
.tr-side { display: none !important; } .tr, body.tr-open .tr { grid-template-columns: minmax(0, 1fr) !important; }

/* ===================== Sarlavha: premium to'q panel, alohida ajralib turadi ===================== */
#siteTop { background: transparent !important; box-shadow: none !important; }
#siteTop .topbar { position: relative; background: radial-gradient(600px 120px at 85% 0%, rgba(150, 90, 255, .45), transparent 70%), radial-gradient(500px 120px at 15% 100%, rgba(40, 150, 255, .35), transparent 70%), linear-gradient(100deg, #0b1356 0%, #17208f 45%, #3a1fb0 100%) !important; box-shadow: 0 10px 28px rgba(15, 18, 90, .35) !important; border: 0 !important; }
#siteTop .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #36c6ff, #6a4dff 35%, #b44dff 65%, #ffc928); }
#siteTop .topbar > a:first-child img { background: #fff; border-radius: 14px; padding: 4px 6px; box-shadow: 0 6px 16px rgba(0, 0, 40, .35); box-sizing: border-box; }
#siteTop .topbar > a:first-child span span:first-child { color: #fff !important; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
#siteTop .topbar > a:first-child > span > span:last-child { color: rgba(220, 225, 255, .85) !important; }
#siteTop .topbar nav { color: #fff !important; }
#siteTop .topbar nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px !important; border-radius: 12px; color: rgba(235, 238, 255, .92) !important; transition: background .15s, color .15s, transform .15s; }
#siteTop .topbar nav a::after { display: none !important; }
#siteTop .topbar nav a:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
#siteTop .topbar nav a.on { background: linear-gradient(135deg, #5b5cff, #8a4dff) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(110, 80, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
#siteTop .topbar nav a .nv { color: inherit !important; }
#siteTop .top-bell { background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .22) !important; color: #fff !important; }
#siteTop .top-bell:hover { background: rgba(255, 255, 255, .2) !important; }
#siteTop .topbar a.tg, #siteTop .topbar > div:last-child > span[style*="25d366"] { box-shadow: 0 4px 12px rgba(0, 0, 0, .3); border: 2px solid rgba(255, 255, 255, .25); }
#siteTop .top-prof { background: rgba(255, 255, 255, .12) !important; border: 1px solid rgba(255, 255, 255, .28) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(0, 0, 40, .3) !important; }
#siteTop .top-prof:hover { background: rgba(255, 255, 255, .2) !important; }
#siteTop .login-btn { background: linear-gradient(180deg, #ffe14a, #ffc400) !important; color: #1b1d4a !important; box-shadow: 0 6px 16px rgba(255, 196, 0, .35) !important; }
#siteTop .topbar > div:last-child::after { filter: invert(1) brightness(2); }
/* ta'mirlash sahifasidagi eski qoidalar endi kerak emas - umumiy dizayn ishlaydi */
body.tr-open #siteTop .topbar { background: radial-gradient(600px 120px at 85% 0%, rgba(150, 90, 255, .45), transparent 70%), linear-gradient(100deg, #0b1356 0%, #17208f 45%, #3a1fb0 100%) !important; }
@media (min-width: 721px) { #siteTop .topbar nav { gap: 8px !important; } #siteTop .topbar { height: 72px !important; } }
/* nosozliklar soni qurilmaga qarab: ustunlar soni moslashadi */
@media (min-width: 1500px) {
  .tr-faults[data-n="16"] { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }
  .tr-faults[data-n="10"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
@media (min-width: 761px) and (max-width: 1499px) {
  .tr-faults[data-n="16"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .tr-faults[data-n="10"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

/* "To'y taklifnomalari" slaydi (bordo + oltin) */
.hx-badge-wine { background: rgba(70, 10, 35, .45) !important; border: 1.5px solid #d9a441 !important; color: #fff4dc !important; border-radius: 12px !important; }
.hx-badge-wine svg { background: none !important; padding: 0 !important; width: 30px !important; height: 22px !important; color: #f2c25b; }
@media (min-width: 721px) {
  .home-promo .pp-slide.hx-wine .pp-text h2.hx-serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; letter-spacing: -.5px; font-size: clamp(38px, 3.8vw, 66px); }
  .hx-wine .hx-goldtxt { display: inline-block; color: transparent !important; background: linear-gradient(180deg, #fff1b8 0%, #f2c25b 45%, #c8891c 100%); -webkit-background-clip: text; background-clip: text; text-shadow: none; padding-right: .06em; }
  .hx-wine .hx-lead-plain { color: #f6e9ee !important; }
  .hx-feats-wine span { background: rgba(80, 10, 40, .4) !important; border-color: rgba(217, 164, 65, .75) !important; }
  .hx-feats-wine i { color: #f2c25b !important; }
  .hx-go-gold { background: linear-gradient(180deg, #ffe08a, #f2b43a 60%, #d99a22) !important; color: #3a1020 !important; box-shadow: 0 10px 24px rgba(242, 180, 58, .35) !important; }
  .home-promo .pp-slide.hx-wine .pp-img { max-width: 60% !important; }
}
.hx-feats-box i svg { color: inherit !important; }

/* ===================== Bosh sahifa pastki qismi: telefon ta'mirlash banneri + "Qanday ishlaydi?" ===================== */
.tb2 { position: relative; display: grid; grid-template-columns: clamp(200px, 21%, 330px) minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 2vw, 32px); margin: clamp(56px, 5vw, 80px) var(--page-pad, 16px) 0; padding: 26px clamp(18px, 2vw, 32px) 26px 0; min-height: 200px; border-radius: 24px; color: #fff; font-family: Inter, "Segoe UI", sans-serif; background: radial-gradient(500px 200px at 95% 0%, rgba(160, 80, 255, .45), transparent 70%), radial-gradient(600px 220px at 55% 120%, rgba(30, 140, 255, .35), transparent 70%), linear-gradient(100deg, #070b3a 0%, #0b1257 45%, #120f63 100%); border: 1.5px solid rgba(80, 180, 255, .55); box-shadow: 0 0 0 1px rgba(160, 90, 255, .25), 0 18px 40px rgba(10, 15, 80, .35), 0 0 30px rgba(60, 150, 255, .18); isolation: isolate; }
.tb2-waves { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; z-index: -1; pointer-events: none; filter: drop-shadow(0 0 6px rgba(80, 160, 255, .6)); }
.tb2-phone { position: absolute; left: 0; bottom: 0; height: calc(100% + clamp(48px, 4.5vw, 72px)); width: auto; max-width: 23%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 14px 26px rgba(90, 60, 255, .45)); pointer-events: none; }
.tb2-copy { grid-column: 2; min-width: 0; }
.tb2-badge { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border-radius: 18px; background: rgba(40, 30, 120, .55); border: 1.5px solid rgba(190, 120, 255, .85); box-shadow: 0 0 14px rgba(160, 90, 255, .35); font-size: clamp(13px, 1vw, 15.5px); font-weight: 700; }
.tb2-badge svg { width: 20px; height: 20px; }
.tb2 h2 { margin: 12px 0 6px; font-size: clamp(26px, 2.6vw, 44px); font-weight: 800; letter-spacing: -.6px; line-height: 1.08; }
.tb2 h2 em { font-style: normal; color: #ffc928; }
.tb2 p { margin: 0; font-size: clamp(14px, 1.15vw, 19px); color: rgba(225, 230, 255, .85); }
.tb2 p b { color: #fff; font-weight: 600; }
.tb2-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; height: clamp(46px, 3.4vw, 56px); padding: 0 clamp(22px, 2vw, 34px); border: 0; border-radius: 30px; background: linear-gradient(180deg, #ffe14a, #ffc400); color: #1b1d4a; font: 800 clamp(15px, 1.15vw, 19px) Inter, sans-serif; cursor: pointer; box-shadow: 0 0 22px rgba(255, 200, 0, .45), 0 10px 22px rgba(0, 0, 0, .25); transition: transform .15s, box-shadow .15s; }
.tb2-go:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 200, 0, .6), 0 14px 26px rgba(0, 0, 0, .3); }
.tb2-go svg { width: 22px; height: 22px; }
.tb2-feats { grid-column: 3; display: flex; gap: clamp(8px, .9vw, 16px); padding-left: clamp(16px, 2vw, 34px); border-left: 1px solid rgba(255, 255, 255, .18); }
.tb2-feats span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: clamp(96px, 7.2vw, 140px); min-height: clamp(116px, 8vw, 150px); padding: 12px 8px; border-radius: 18px; text-align: center; font-size: clamp(12.5px, .95vw, 16px); font-weight: 700; line-height: 1.2; background: linear-gradient(180deg, rgba(40, 50, 150, .55), rgba(20, 25, 100, .55)); border: 1.5px solid rgba(110, 140, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 40, .3); transition: transform .15s, border-color .15s; }
.tb2-feats span:hover { transform: translateY(-3px); border-color: #ffc928; }
.tb2-feats i { color: #ffc928; display: grid; place-items: center; filter: drop-shadow(0 0 8px rgba(255, 200, 40, .45)); }
.tb2-feats svg { width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); }
/* Qanday ishlaydi? */
.hw2 { margin: 16px var(--page-pad, 16px) 24px; padding: 18px clamp(16px, 1.6vw, 26px) 20px; border-radius: 24px; background: linear-gradient(180deg, #fbfbff, #f2f1ff); border: 1px solid #e3e0fb; box-shadow: 0 12px 30px rgba(60, 50, 160, .1); font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.hw2 h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: clamp(19px, 1.5vw, 26px); font-weight: 800; }
.hw2 h3 span { color: #6a4dff; display: grid; } .hw2 h3 svg { width: 26px; height: 26px; }
.hw2-row { display: flex; align-items: center; gap: 10px; }
.hw2-step { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid #ecebfb; box-shadow: 0 8px 20px rgba(60, 50, 160, .08); transition: transform .15s, box-shadow .15s; }
.hw2-step:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(60, 50, 160, .14); }
.hw2-step > b { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #8a5bff, #4b5cff); color: #fff; font-size: 19px; box-shadow: 0 6px 14px rgba(100, 70, 255, .4); }
.hw2-step > i { color: #6a4dff; display: grid; flex: none; } .hw2-step > i svg { width: 38px; height: 38px; }
.hw2-step strong { display: block; font-size: clamp(14.5px, 1.1vw, 18px); font-weight: 800; }
.hw2-step small { display: block; margin-top: 3px; font-size: clamp(12.5px, .9vw, 15px); color: #5e6188; line-height: 1.3; }
.hw2-chev { width: 26px; height: 26px; flex: none; color: #6a4dff; }
/* o'rta ekranlar */
@media (max-width: 1280px) and (min-width: 721px) {
  .tb2 { grid-template-columns: clamp(170px, 20%, 240px) minmax(0, 1fr); }
  .tb2-feats { grid-column: 2; border-left: 0; padding-left: 0; }
  .tb2-feats span { min-height: 96px; }
  .hw2-row { flex-wrap: wrap; } .hw2-step { flex: 1 1 calc(50% - 30px); } .hw2-chev { display: none; }
}
/* telefon */
@media (max-width: 720px) {
  .tb2 { grid-template-columns: 112px minmax(0, 1fr); margin: 46px 12px 0; padding: 16px 14px 16px 0; min-height: 0; gap: 10px; border-radius: 20px; }
  .tb2-phone { max-width: 38%; height: calc(100% + 40px); }
  .tb2-badge { height: 28px; font-size: 11.5px; padding: 0 10px 0 8px; } .tb2-badge svg { width: 15px; height: 15px; }
  .tb2 h2 { font-size: 20px; margin: 8px 0 4px; }
  .tb2 p { font-size: 12.5px; }
  .tb2-go { height: 40px; margin-top: 10px; padding: 0 16px; font-size: 13.5px; } .tb2-go svg { width: 17px; height: 17px; }
  .tb2-feats { grid-column: 1 / -1; border-left: 0; padding: 0 0 0 14px; gap: 6px; }
  .tb2-feats span { flex: 1; width: auto; min-height: 84px; padding: 8px 4px; gap: 6px; font-size: 10.5px; border-radius: 14px; }
  .tb2-feats svg { width: 26px; height: 26px; }
  .hw2 { margin: 14px 12px 18px; padding: 14px; border-radius: 20px; }
  .hw2-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .hw2-chev { display: none; }
  .hw2-step { padding: 12px; gap: 10px; border-radius: 16px; }
  .hw2-step > b { width: 36px; height: 36px; font-size: 15px; } .hw2-step > i svg { width: 30px; height: 30px; }
}
@media (max-width: 720px) { .tb2 { grid-template-columns: 128px minmax(0, 1fr); } .tb2-phone { top: -34px; bottom: auto; left: -4px; height: 138px; max-width: none; } }
@media (max-width: 720px) { .tb2 { grid-template-columns: minmax(0, 1fr) !important; padding: 18px 14px !important; margin-top: 16px !important; } .tb2-phone { display: none !important; } .tb2-copy { grid-column: 1; } .tb2-feats { grid-column: 1; padding-left: 0 !important; } }
/* 1-karta: rasm kartaning yuqori qismini to'liq qoplaydi */
#homeBoard .svc[data-open="hujjatsurat"] { overflow: hidden; }
#homeBoard .svc[data-open="hujjatsurat"] img { width: calc(100% + 28px) !important; max-width: none !important; height: calc(clamp(62px, 5vw, 96px) + 12px) !important; margin: -12px -14px 6px !important; object-fit: cover !important; object-position: center 30% !important; mix-blend-mode: normal !important; border-radius: 14px 14px 0 0; }
@media (max-width: 720px) {
  #homeBoard .svc[data-open="hujjatsurat"] img { height: 78px !important; }
}
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] img { align-self: stretch !important; width: calc(100% + 28px) !important; max-width: none !important; margin: -12px -14px 6px !important; height: calc(clamp(62px, 5vw, 96px) + 12px) !important; object-fit: cover !important; mix-blend-mode: normal !important; border-radius: 14px 14px 0 0 !important; }
@media (max-width: 720px) { #homeBoard #svcGrid .svc[data-open="hujjatsurat"] img { height: 78px !important; } }
/* 1-karta: rasmdagidek - surat butun karta foni, chapda yozuvlar */
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] { position: relative; overflow: hidden; justify-content: flex-end !important; align-items: flex-start !important; text-align: left; background: linear-gradient(90deg, #f3f5ff 0%, rgba(243, 245, 255, .96) 34%, rgba(243, 245, 255, .55) 52%, rgba(243, 245, 255, 0) 68%), url("/static/images/c1_card.webp?v=2") right center / auto 100% no-repeat, #dfe8ff !important; }
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] img { display: none !important; }
#homeBoard #svcGrid .svc[data-open="hujjatsurat"]::before { content: ""; display: block; width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); margin-bottom: auto; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l1.6-2.5h6.8L17 8h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.4'/%3E%3C/svg%3E") center / 62% no-repeat, linear-gradient(135deg, #8a5bff, #3f6bff); box-shadow: 0 6px 14px rgba(80, 70, 255, .35); }
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] b { position: relative; max-width: 62%; font-size: clamp(14px, 1.05vw, 18px) !important; line-height: 1.12; color: #0f1450 !important; margin-top: 8px; }
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] small { position: relative; max-width: 62%; color: #4a4d75 !important; }
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] { background: linear-gradient(90deg, #f3f5ff 0%, rgba(243, 245, 255, .97) 40%, rgba(243, 245, 255, .6) 56%, rgba(243, 245, 255, 0) 72%), url("/static/images/c1_card.webp?v=2") right -10px center / auto 104% no-repeat, #dfe8ff !important; }
/* 1-karta: kursor olib borilganda qimirlaydi */
#homeBoard #svcGrid .svc[data-open="hujjatsurat"] { transition: transform .3s cubic-bezier(.2, .8, .3, 1.3), box-shadow .3s, background-size .6s ease, background-position .6s ease; }
@media (hover: hover) {
  #homeBoard #svcGrid .svc[data-open="hujjatsurat"]:hover { background-size: 100% 100%, auto 116%, auto !important; background-position: 0 0, right -22px center, 0 0 !important; animation: c1Float 1.6s ease-in-out infinite; }
  #homeBoard #svcGrid .svc[data-open="hujjatsurat"]:hover::before { animation: c1Icon .7s ease-in-out; }
}
@keyframes c1Float { 0%, 100% { transform: translateY(-6px) rotate(0); } 25% { transform: translateY(-8px) rotate(-.6deg); } 75% { transform: translateY(-5px) rotate(.6deg); } }
@keyframes c1Icon { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-12deg) scale(1.12); } 60% { transform: rotate(9deg) scale(1.08); } 100% { transform: rotate(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { #homeBoard #svcGrid .svc[data-open="hujjatsurat"]:hover, #homeBoard #svcGrid .svc[data-open="hujjatsurat"]:hover::before { animation: none; } }
/* 2-karta (Obektivka): rasmdagidek - surat butun karta foni, chapda yozuvlar, kursor bilan qimirlaydi */
#homeBoard #svcGrid .svc[data-open="obektivka"] { position: relative; overflow: hidden; justify-content: flex-end !important; align-items: flex-start !important; text-align: left; background: linear-gradient(90deg, #f3f5ff 0%, rgba(243, 245, 255, .97) 40%, rgba(243, 245, 255, .6) 56%, rgba(243, 245, 255, 0) 72%), url("/static/images/c2_card.webp?v=1") right -8px center / auto 104% no-repeat, #dfe8ff !important; transition: transform .3s cubic-bezier(.2, .8, .3, 1.3), box-shadow .3s, background-size .6s ease, background-position .6s ease; }
#homeBoard #svcGrid .svc[data-open="obektivka"] img { display: none !important; }
#homeBoard #svcGrid .svc[data-open="obektivka"]::before { content: ""; display: block; width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); margin-bottom: auto; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h8.5L19 7v14.5H6z'/%3E%3Cpath d='M14 2.5V7h5'/%3E%3Ccircle cx='12.5' cy='12' r='2'/%3E%3Cpath d='M9 18c.5-1.8 2-2.8 3.5-2.8S15.5 16.2 16 18M8.5 7h3M8.5 9.5h2'/%3E%3C/svg%3E") center / 62% no-repeat, linear-gradient(135deg, #8a4dff, #5b2fe8); box-shadow: 0 6px 14px rgba(110, 60, 255, .35); }
#homeBoard #svcGrid .svc[data-open="obektivka"] b { position: relative; max-width: 62%; font-size: clamp(14px, 1.05vw, 18px) !important; line-height: 1.12; color: #0f1450 !important; margin-top: 8px; }
#homeBoard #svcGrid .svc[data-open="obektivka"] small { position: relative; max-width: 62%; color: #4a4d75 !important; }
@media (hover: hover) {
  #homeBoard #svcGrid .svc[data-open="obektivka"]:hover { background-size: 100% 100%, auto 116% !important; background-position: 0 0, right -20px center !important; animation: c1Float 1.6s ease-in-out infinite; }
  #homeBoard #svcGrid .svc[data-open="obektivka"]:hover::before { animation: c1Icon .7s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) { #homeBoard #svcGrid .svc[data-open="obektivka"]:hover, #homeBoard #svcGrid .svc[data-open="obektivka"]:hover::before { animation: none; } }
/* 3-karta (To'y taklifnomalari): pushti-bordo, surat butun karta foni, kursor bilan qimirlaydi */
#homeBoard #svcGrid .svc[data-open="boshqa"] { position: relative; overflow: hidden; justify-content: flex-end !important; align-items: flex-start !important; text-align: left; background: linear-gradient(90deg, #fff4f8 0%, rgba(255, 244, 248, .97) 40%, rgba(255, 244, 248, .6) 56%, rgba(255, 244, 248, 0) 72%), url("/static/images/c3_card.webp?v=1") right -8px center / auto 104% no-repeat, #fbe3ec !important; border-color: #f6d3e1 !important; transition: transform .3s cubic-bezier(.2, .8, .3, 1.3), box-shadow .3s, background-size .6s ease, background-position .6s ease; }
#homeBoard #svcGrid .svc[data-open="boshqa"] img { display: none !important; }
#homeBoard #svcGrid .svc[data-open="boshqa"]::before { content: ""; display: block; width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); margin-bottom: auto; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28' fill='none' stroke='%23ffd27a' stroke-width='2.2'%3E%3Ccircle cx='12' cy='17' r='7'/%3E%3Ccircle cx='20' cy='17' r='7'/%3E%3Cpath d='M16 7.5c-1.2-1.4-3.2-.6-2.6 1 .4 1 2.6 2.4 2.6 2.4s2.2-1.4 2.6-2.4c.6-1.6-1.4-2.4-2.6-1z' fill='%23ffd27a' stroke='none'/%3E%3C/svg%3E") center / 66% no-repeat, linear-gradient(135deg, #c8336b, #7d1240); box-shadow: 0 6px 14px rgba(180, 30, 90, .35); }
#homeBoard #svcGrid .svc[data-open="boshqa"] b { position: relative; max-width: 62%; font-size: clamp(14px, 1.05vw, 18px) !important; line-height: 1.12; color: #7a1238 !important; margin-top: 8px; }
#homeBoard #svcGrid .svc[data-open="boshqa"] small { position: relative; max-width: 62%; color: #6b4a58 !important; }
#homeBoard #svcGrid .svc[data-open="boshqa"]:hover { border-color: #e9a9c3 !important; box-shadow: 0 16px 30px rgba(180, 30, 90, .18) !important; }
@media (hover: hover) {
  #homeBoard #svcGrid .svc[data-open="boshqa"]:hover { background-size: 100% 100%, auto 116% !important; background-position: 0 0, right -20px center !important; animation: c1Float 1.6s ease-in-out infinite; }
  #homeBoard #svcGrid .svc[data-open="boshqa"]:hover::before { animation: c1Icon .7s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) { #homeBoard #svcGrid .svc[data-open="boshqa"]:hover, #homeBoard #svcGrid .svc[data-open="boshqa"]:hover::before { animation: none; } }
/* telefon banneri: rasm o'z ustunidan chiqmasin, chetlari bilinmasin */
.tb2 { --tb2-col: clamp(200px, 21%, 330px); grid-template-columns: var(--tb2-col) minmax(0, 1fr) auto; }
.tb2-phone { max-width: var(--tb2-col) !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 78%, transparent 100%); }
.tb2-copy { position: relative; z-index: 1; }
@media (max-width: 1280px) and (min-width: 721px) {
  .tb2 { --tb2-col: clamp(170px, 20%, 240px); grid-template-columns: var(--tb2-col) minmax(0, 1fr); }
}
/* Xizmatlar sahifasi: 1-3 kartalarda bosh sahifadagi yangi rasmlar, rasm qismini to'liq qoplaydi */
.sp-img:has(> img.sp-cover) { overflow: hidden; padding: 0 !important; display: block !important; }
.sp-img img.sp-cover { display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: center 40%; mix-blend-mode: normal !important; }
@media (hover: hover) { .sp-card:hover .sp-img img.sp-cover { animation: none !important; transform: scale(1.1); } }
.sp-img img.sp-hujjatsurat { object-position: 60% 42% !important; }
.sp-img img.sp-obektivka { object-position: 55% 30% !important; object-fit: cover !important; transform-origin: 55% 30%; }
.sp-img img.sp-boshqa { object-position: 78% 38% !important; }
.sp-img img.sp-obektivka { object-position: 50% 16% !important; }
.sp-img img.sp-boshqa { width: 122% !important; margin-left: -22%; object-position: 50% 36% !important; }
.sp-img img.sp-hujjatsurat { width: 110% !important; margin-left: -10%; }
/* Xizmatlar sahifasi: yangi rasmlar butunligicha (kattalashmasdan), mos rangli fon bilan */
.sp-img:has(> img.sp-cover) { display: grid !important; place-items: center; background: linear-gradient(135deg, #eef3ff, #cfe0ff) !important; }
.sp-img:has(> img.sp-boshqa) { background: linear-gradient(135deg, #fff1f6, #f9d3e2) !important; }
.sp-img img.sp-cover, .sp-img img.sp-hujjatsurat, .sp-img img.sp-obektivka, .sp-img img.sp-boshqa { width: auto !important; height: 100% !important; max-width: 100% !important; margin: 0 !important; object-fit: contain !important; object-position: center !important; }
@media (hover: hover) { .sp-card:hover .sp-img img.sp-cover { transform: scale(1.06); } }
.sp-img img.sp-cover { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.sp-img:has(> img.sp-cover) { position: relative !important; }
.sp-img img.sp-cover, .sp-img img.sp-hujjatsurat, .sp-img img.sp-obektivka, .sp-img img.sp-boshqa { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; }
/* telefon ta'mirlash: yumaloq galochkalar kerak emas */ .tr-ok, .tr-fault > i { display: none !important; } .tr-fault { padding-right: 10px !important; }
#siteTop .topbar a.wa { box-shadow: 0 4px 12px rgba(0, 0, 0, .3); border: 2px solid rgba(255, 255, 255, .25); text-decoration: none; }

/* ===================== Reklama dizayni: ichki sahifa ===================== */
#customStep.rk-mode.rk-list > #customTitle, #customStep.rk-mode.rk-list > #customNote, #customStep.rk-mode.rk-list > #customFields, #customStep.rk-mode.rk-list > .nav, #customStep.rk-mode.rk-list > #customErr { display: none !important; }
body.rk-open #whero, body.rk-open #contactBox { display: none !important; }
body.rk-open #work .crumbs { display: none !important; }
@media (min-width: 721px) {
  body.rk-open #work:has(#customStep.rk-list) { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: var(--page-pad, 24px) !important; padding-right: var(--page-pad, 24px) !important; box-sizing: border-box; }
}
#customStep.rk-mode.rk-list { max-width: none !important; width: 100% !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.rk { font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.rk[hidden], .rk [hidden] { display: none !important; }
.rk-hero { position: relative; display: flex; align-items: center; min-height: 210px; padding: 26px clamp(20px, 3.5vw, 64px); border-radius: 26px; overflow: hidden; color: #fff; background: radial-gradient(500px 200px at 80% 0%, rgba(190, 120, 255, .5), transparent 70%), linear-gradient(100deg, #4b2fc9 0%, #5b3df0 45%, #7a4dff 100%); box-shadow: 0 16px 34px rgba(80, 50, 200, .3); }
.rk-hcopy { position: relative; z-index: 1; max-width: 56%; }
.rk-badge { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 17px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); font-size: 14.5px; font-weight: 700; }
.rk-badge svg { width: 18px; height: 18px; }
.rk-hero h2 { margin: 14px 0 8px; font-size: clamp(24px, 2.4vw, 40px); font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.rk-hero p { margin: 0; font-size: clamp(14px, 1.15vw, 19px); color: rgba(255, 255, 255, .9); line-height: 1.45; }
.rk-himg { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 48%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.rk-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 2px 16px; }
.rk-bar h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(20px, 1.7vw, 28px); font-weight: 800; }
.rk-bar h3 span { color: #5b3df5; display: grid; } .rk-bar h3 svg { width: 30px; height: 30px; }
.rk-search { display: flex; align-items: center; gap: 10px; width: min(390px, 45%); height: 48px; padding: 0 16px; border: 1.5px solid #e3e0fb; border-radius: 24px; background: #fff; color: #6b6f99; }
.rk-search:focus-within { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .14); }
.rk-search svg { width: 20px; height: 20px; flex: none; }
.rk-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 15px Inter, sans-serif; color: #1b1d4a; }
.rk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rk-card { display: flex; gap: 16px; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid #eceafb; box-shadow: 0 10px 24px rgba(60, 50, 160, .08); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rk-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(80, 60, 200, .16); border-color: #d6ccff; }
.rk-card > img { width: clamp(110px, 8.6vw, 146px); height: clamp(110px, 8.6vw, 146px); flex: none; object-fit: cover; border-radius: 18px; transition: transform .3s; }
.rk-card:hover > img { transform: scale(1.05) rotate(-2deg); }
.rk-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rk-body h4 { margin: 4px 0 6px; font-size: clamp(16px, 1.25vw, 21px); font-weight: 800; }
.rk-body p { margin: 0 0 10px; font-size: clamp(12.5px, .95vw, 15px); color: #5e6188; line-height: 1.35; }
.rk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rk-chips span { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 14px; background: #f3f2fb; font-size: 12px; font-weight: 600; color: #2a2d5a; white-space: nowrap; }
.rk-chips svg { width: 14px; height: 14px; }
.rk-go { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: 21px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 700 14.5px Inter, sans-serif; cursor: pointer; box-shadow: 0 8px 18px rgba(75, 47, 224, .3); }
.rk-go:hover { filter: brightness(1.08); }
.rk-empty { text-align: center; color: #6b6f99; margin: 20px 0; }
.rk-formhead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rk-back { height: 38px; padding: 0 14px; border: 1.5px solid #e3e0fb; border-radius: 12px; background: #fff; color: #4b2fe0; font: 700 14px Inter, sans-serif; cursor: pointer; }
.rk-formhead b { font-size: 16px; }
@media (max-width: 1400px) and (min-width: 721px) { .rk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) and (min-width: 721px) { .rk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .rk-hero { min-height: 0; padding: 18px; border-radius: 20px; }
  .rk-hcopy { max-width: none; }
  .rk-himg { opacity: .25; max-width: 70%; }
  .rk-hero h2 { font-size: 21px; }
  .rk-hero p { font-size: 13px; }
  .rk-bar { flex-direction: column; align-items: stretch; margin: 16px 0 12px; }
  .rk-search { width: auto; height: 44px; }
  .rk-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rk-card { padding: 10px; gap: 12px; border-radius: 18px; }
  .rk-card > img { width: 96px; height: 96px; border-radius: 14px; }
  .rk-body h4 { font-size: 15.5px; margin: 2px 0 4px; }
  .rk-body p { font-size: 12.5px; margin-bottom: 8px; }
  .rk-chips span { height: 24px; font-size: 11px; padding: 0 8px; }
  .rk-go { height: 36px; padding: 0 14px; font-size: 13px; }
}
.rk-go { white-space: nowrap; padding: 0 16px; } @media (min-width: 721px) { .rk-card > img { width: clamp(96px, 7vw, 132px); height: clamp(96px, 7vw, 132px); } }
/* 4-karta (Reklama dizayni): surat butun karta foni, chapda yozuvlar, kursor bilan qimirlaydi */
#homeBoard #svcGrid .svc[data-open="reklama"] { position: relative; overflow: hidden; justify-content: flex-end !important; align-items: flex-start !important; text-align: left; background: linear-gradient(90deg, #f5f2ff 0%, rgba(245, 242, 255, .97) 40%, rgba(245, 242, 255, .6) 56%, rgba(245, 242, 255, 0) 72%), url("/static/images/sp_reklama.webp?v=1") right -8px center / auto 104% no-repeat, #e7defc !important; transition: transform .3s cubic-bezier(.2, .8, .3, 1.3), box-shadow .3s, background-size .6s ease, background-position .6s ease; }
#homeBoard #svcGrid .svc[data-open="reklama"] img { display: none !important; }
#homeBoard #svcGrid .svc[data-open="reklama"]::before { content: ""; display: block; width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); margin-bottom: auto; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M14 3.5l6.5 6.5-8.5 8.5-5.5 1.5 1.5-5.5z'/%3E%3Cpath d='M8 14.5l-4.5 6M11.5 11.5a1.4 1.4 0 1 0 0 .01'/%3E%3C/svg%3E") center / 60% no-repeat, linear-gradient(135deg, #8a4dff, #4b2fe0); box-shadow: 0 6px 14px rgba(110, 60, 255, .35); }
#homeBoard #svcGrid .svc[data-open="reklama"] b { position: relative; max-width: 62%; font-size: clamp(14px, 1.05vw, 18px) !important; line-height: 1.12; color: #1a1060 !important; margin-top: 8px; }
#homeBoard #svcGrid .svc[data-open="reklama"] small { position: relative; max-width: 62%; color: #4a4d75 !important; }
@media (hover: hover) {
  #homeBoard #svcGrid .svc[data-open="reklama"]:hover { background-size: 100% 100%, auto 116% !important; background-position: 0 0, right -20px center !important; animation: c1Float 1.6s ease-in-out infinite; }
  #homeBoard #svcGrid .svc[data-open="reklama"]:hover::before { animation: c1Icon .7s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) { #homeBoard #svcGrid .svc[data-open="reklama"]:hover, #homeBoard #svcGrid .svc[data-open="reklama"]:hover::before { animation: none; } }
/* 5-karta (Eski rasmlarni tiklash): to'q-oltin, surat butun karta foni, kursor bilan qimirlaydi */
#homeBoard #svcGrid .svc[data-open="tiklash"] { position: relative; overflow: hidden; justify-content: flex-end !important; align-items: flex-start !important; text-align: left; background: linear-gradient(90deg, #0f1a22 0%, rgba(15, 26, 34, .96) 38%, rgba(15, 26, 34, .6) 55%, rgba(15, 26, 34, 0) 72%), url("/static/images/sp_tiklash.webp?v=1") right -8px center / auto 104% no-repeat, #0f1a22 !important; border-color: rgba(214, 170, 80, .55) !important; transition: transform .3s cubic-bezier(.2, .8, .3, 1.3), box-shadow .3s, background-size .6s ease, background-position .6s ease; }
#homeBoard #svcGrid .svc[data-open="tiklash"] img { display: none !important; }
#homeBoard #svcGrid .svc[data-open="tiklash"]::before { content: ""; display: block; width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); margin-bottom: auto; border-radius: 12px; border: 1.5px solid rgba(232, 185, 80, .8); box-sizing: border-box; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2c14e' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='14' height='13' rx='2'/%3E%3Cpath d='M3.5 17l4.5-4.5 3.5 3.5 2-2 3.5 3.5'/%3E%3Cpath d='M19 2.5l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z' fill='%23f2c14e'/%3E%3C/svg%3E") center / 62% no-repeat, linear-gradient(160deg, #1d2a33, #0c141a); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
#homeBoard #svcGrid .svc[data-open="tiklash"] b { position: relative; max-width: 62%; font-size: clamp(14px, 1.05vw, 18px) !important; line-height: 1.12; color: #fff !important; margin-top: 8px; }
#homeBoard #svcGrid .svc[data-open="tiklash"] small { position: relative; max-width: 62%; color: #f2c14e !important; }
#homeBoard #svcGrid .svc[data-open="tiklash"]::after { filter: invert(1); }
#homeBoard #svcGrid .svc[data-open="tiklash"]:hover { border-color: #f2c14e !important; box-shadow: 0 16px 30px rgba(0, 0, 0, .35) !important; }
@media (hover: hover) {
  #homeBoard #svcGrid .svc[data-open="tiklash"]:hover { background-size: 100% 100%, auto 116% !important; background-position: 0 0, right -20px center !important; animation: c1Float 1.6s ease-in-out infinite; }
  #homeBoard #svcGrid .svc[data-open="tiklash"]:hover::before { animation: c1Icon .7s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) { #homeBoard #svcGrid .svc[data-open="tiklash"]:hover, #homeBoard #svcGrid .svc[data-open="tiklash"]:hover::before { animation: none; } }
.sp-img:has(> img.sp-tiklash) { background: linear-gradient(135deg, #16222b, #2a2418) !important; }
#homeBoard #svcGrid .svc[data-open="tiklash"]::after { filter: none !important; color: #f2c14e !important; }
/* Xizmatlar: "Eski rasmlarni tiklash" atrofida qora bo'shliq bo'lmasin - rasmning xira nusxasi fon bo'ladi */
.sp-img:has(> img.sp-tiklash) { background: #2a2a2a !important; overflow: hidden; }
.sp-img:has(> img.sp-tiklash)::before { content: ""; position: absolute; inset: -20px; background: url("/static/images/sp_tiklash_s.webp?v=1") center / cover no-repeat; filter: blur(14px) brightness(1.05) saturate(1.1); transform: scale(1.1); }
.sp-img img.sp-tiklash { z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%) !important; mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%) !important; }
.sp-img:has(> img.sp-tiklash)::before { background-image: url("/static/images/sp_tiklash_full.webp?v=1") !important; filter: blur(16px) brightness(.9); }
.sp-img img.sp-tiklash { -webkit-mask-image: none !important; mask-image: none !important; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); inset: 6px 0 !important; height: calc(100% - 12px) !important; }
/* reklama: namunalar */
.rk-samples { display: flex; gap: 6px; margin: -4px 0 10px; }
.rk-sample { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 3px 10px 3px 3px; border: 1.5px solid #e3e0fb; border-radius: 10px; background: #faf9ff; color: #4b2fe0; font: 700 12px Inter, sans-serif; cursor: zoom-in; transition: border-color .15s, transform .15s; }
.rk-sample:hover { border-color: #6a4dff; transform: translateY(-1px); }
.rk-sample img { width: 38px; height: 26px; object-fit: cover; border-radius: 6px; }
.rk-formsamples { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 700; color: #4a4d75; }
.rk-formsamples[hidden] { display: none; }
.rk-light { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(10, 10, 40, .82); }
.rk-light[hidden] { display: none; }
.rk-light figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.rk-light img { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.rk-light figcaption { margin-top: 10px; color: #fff; font: 700 15px Inter, sans-serif; }
.rk-lx { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 26px; cursor: pointer; }

/* ===================== E'lon (Afisha) dizayni formasi ===================== */
.rk [hidden], .el-aside[hidden] { display: none !important; }
#customStep.rk-elon > #customTitle, #customStep.rk-elon > #customNote { display: none !important; }
#customStep.rk-elon #rkFormHead > b { display: none; }
@media (min-width: 981px) {
  body.el-open #work { max-width: min(1520px, 100%) !important; width: 100% !important; box-sizing: border-box; }
  #customStep.rk-elon { display: grid !important; grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 400px); column-gap: 18px; align-items: start; max-width: none !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  #customStep.rk-elon > :not(.el-aside) { grid-column: 1; }
  #customStep.rk-elon > #rkWrap { padding: 20px 22px 0; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 10px 26px rgba(60, 50, 160, .08); }
  #customStep.rk-elon > #customFields, #customStep.rk-elon > #customErr, #customStep.rk-elon > .nav { padding-left: 22px; padding-right: 22px; background: #fff; margin: 0; }
  #customStep.rk-elon > .nav { padding-bottom: 20px; padding-top: 12px; border-radius: 0 0 22px 22px; box-shadow: 0 16px 26px rgba(60, 50, 160, .08); }
  #customStep.rk-elon > .el-aside { grid-column: 2; grid-row: 1 / span 30; position: sticky; top: 90px; }
}
.el-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.el-hico { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 16px; background: linear-gradient(135deg, #ece6ff, #ddd3ff); color: #4b2fe0; }
.el-hico svg { width: 32px; height: 32px; }
.el-head h2 { margin: 0; font-size: clamp(22px, 1.8vw, 30px); font-weight: 800; color: #1b1d4a; }
.el-head p { margin: 4px 0 0; font-size: 14px; color: #5e6188; }
#customStep.rk-elon .rk-back { background: #f1eeff; border-color: #f1eeff; height: 42px; padding: 0 18px; border-radius: 14px; font-size: 15px; }
.el-tpl { margin: 16px 0 10px; }
.el-tplbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.el-tplbar b { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #1b1d4a; }
.el-tplbar b svg { width: 20px; height: 20px; color: #5b3df5; }
.el-all { border: 0; background: none; color: #5b3df5; font: 700 14px Inter, sans-serif; cursor: pointer; }
.el-row { position: relative; }
.el-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; }
.el-track::-webkit-scrollbar { display: none; }
.el-t { position: relative; flex: 0 0 clamp(120px, 10vw, 156px); aspect-ratio: 1.1 / 1; padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; background: #f3f2fb; cursor: pointer; scroll-snap-align: start; box-shadow: 0 6px 14px rgba(40, 30, 120, .12); transition: transform .15s, border-color .15s; }
.el-t:hover { transform: translateY(-3px); }
.el-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.el-t i { position: absolute; top: 6px; left: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .85); border: 2px solid #c9c0ff; color: transparent; }
.el-t i svg { width: 13px; height: 13px; }
.el-t.on { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .25), 0 8px 18px rgba(80, 60, 220, .25); }
.el-t.on i { background: #6a4dff; border-color: #6a4dff; color: #fff; }
.el-next { position: absolute; right: -8px; top: 50%; transform: translateY(-60%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: #4b2fe0; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(40, 30, 120, .2); }
.el-tpl.el-grid .el-track { flex-wrap: wrap; overflow: visible; }
.el-tpl.el-grid .el-next { display: none; }
.el-none { margin: 10px 4px; color: #6b6f99; font-size: 14px; }
.el-size { width: min(280px, 100%); height: 44px; padding: 0 12px; border: 1.5px solid #e3e0fb; border-radius: 12px; background: #fff; font: 600 14.5px Inter, sans-serif; color: #1b1d4a; }
.el-size + input, #customFields input + .el-size { margin-top: 6px; }
#customStep.rk-elon #customSave { display: inline-flex; align-items: center; gap: 8px; }
#customStep.rk-elon #customSave::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M21 4 3 11l7 2 2 7z'/%3E%3Cpath d='m10 13 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
/* o'ng ustun */
.el-aside { display: flex; flex-direction: column; gap: 14px; font-family: Inter, "Segoe UI", sans-serif; }
.el-card { padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(60, 50, 160, .08); }
.el-card h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: #1b1d4a; }
.el-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.el-cats button { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 10px; border: 1.5px solid #e9e6fb; border-radius: 14px; background: #fff; color: #1b1d4a; font: 700 13px Inter, sans-serif; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.el-cats button svg { width: 20px; height: 20px; flex: none; color: #5b3df5; }
.el-cats button:hover { border-color: #c9c0ff; }
.el-cats button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); border-color: transparent; color: #fff; }
.el-cats button.on svg { color: #fff; }
.el-prev { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.el-prev img { width: min(240px, 100%); border-radius: 12px; box-shadow: 0 10px 24px rgba(40, 30, 120, .2); }
.el-prev b { font-size: 14px; color: #1b1d4a; }
.el-prev p { margin: 6px 0; color: #6b6f99; font-size: 13.5px; }
.el-clear { border: 0; background: none; color: #c0263a; font: 600 12.5px Inter, sans-serif; cursor: pointer; }
@media (max-width: 980px) {
  #customStep.rk-elon .el-aside { margin-top: 14px; }
  .el-head h2 { font-size: 20px; } .el-head p { font-size: 13px; }
  .el-hico { width: 46px; height: 46px; } .el-hico svg { width: 26px; height: 26px; }
  .el-t { flex-basis: 112px; }
  .el-next { display: none; }
}

/* ===================== Reklama dizayni: yangi ichki sahifa ===================== */
.rk .rk-old { display: none !important; }
#customStep.rk-form .rk2 { display: none !important; }
.rk2 { font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.rk2-hero { position: relative; min-height: 150px; padding: 16px clamp(18px, 3vw, 44px) 20px; border-radius: 24px; overflow: hidden; color: #fff; background: radial-gradient(600px 220px at 85% 0%, rgba(190, 120, 255, .55), transparent 70%), linear-gradient(100deg, #2a1b8f 0%, #4b2fc9 40%, #7a4dff 100%); box-shadow: 0 16px 34px rgba(70, 40, 190, .3); }
.rk2-back { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: rgba(255, 255, 255, .16); color: #fff; font: 700 14.5px Inter, sans-serif; cursor: pointer; }
.rk2-back svg { width: 18px; height: 18px; }
.rk2-back:hover { background: rgba(255, 255, 255, .26); }
.rk2-ht { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-top: 12px; max-width: 62%; }
.rk2-hico { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 18px; background: linear-gradient(135deg, #8a5bff, #5b3df0); box-shadow: 0 8px 20px rgba(30, 10, 120, .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
.rk2-hico svg { width: 34px; height: 34px; }
.rk2-hero h2 { margin: 0; font-size: clamp(26px, 2.4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.rk2-hero p { margin: 4px 0 0; font-size: clamp(13.5px, 1.1vw, 18px); color: rgba(255, 255, 255, .9); }
.rk2-himg { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 42%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 25%); mask-image: linear-gradient(90deg, transparent 0, #000 25%); }
.rk2-body { display: grid; grid-template-columns: clamp(220px, 16vw, 280px) minmax(0, 1fr) clamp(300px, 24vw, 420px); gap: 16px; margin-top: 16px; align-items: start; }
.rk2-types, .rk2-main, .rk2-pick { padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(60, 50, 160, .08); }
.rk2-types h3, .rk2-pick h3, .rk2-bar h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: clamp(17px, 1.3vw, 22px); font-weight: 800; }
.rk2-types h3 svg { width: 26px; height: 26px; color: #5b3df5; }
#rk2Types { display: flex; flex-direction: column; gap: 6px; }
#rk2Types button { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border: 0; border-radius: 13px; background: none; color: #1b1d4a; font: 600 15px Inter, sans-serif; text-align: left; cursor: pointer; transition: background .15s; }
#rk2Types button svg { width: 22px; height: 22px; flex: none; color: #5b3df5; }
#rk2Types button span { flex: 1; }
#rk2Types button em { min-width: 30px; height: 26px; padding: 0 8px; border-radius: 13px; background: #f1f0fa; font-style: normal; font-size: 13px; font-weight: 700; display: grid; place-items: center; color: #4a4d75; }
#rk2Types button:hover { background: #f5f3ff; }
#rk2Types button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; box-shadow: 0 8px 18px rgba(75, 47, 224, .3); }
#rk2Types button.on svg { color: #fff; }
#rk2Types button.on em { background: rgba(255, 255, 255, .22); color: #fff; }
.rk2-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rk2-bar h3 { margin: 0 auto 0 0; }
.rk2-search { display: flex; align-items: center; gap: 8px; width: min(260px, 40%); height: 42px; padding: 0 12px; border: 1.5px solid #e3e0fb; border-radius: 13px; color: #6b6f99; }
.rk2-search:focus-within { border-color: #6a4dff; }
.rk2-search svg { width: 18px; height: 18px; flex: none; }
.rk2-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 14px Inter, sans-serif; color: #1b1d4a; }
#rk2Sort { height: 42px; padding: 0 10px; border: 1.5px solid #e3e0fb; border-radius: 13px; background: #fff; font: 600 14px Inter, sans-serif; color: #1b1d4a; }
.rk2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rk2-card { position: relative; display: flex; flex-direction: column; padding: 8px; border: 2px solid #eeecfb; border-radius: 16px; background: #fff; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
.rk2-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(60, 50, 160, .12); }
.rk2-card.on { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .18); }
.rk2-card img { width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; border-radius: 11px; display: block; }
.rk2-card > b { margin: 8px 2px 8px; font-size: 14.5px; font-weight: 700; }
.rk2-card > div { display: flex; gap: 6px; margin-top: auto; }
.rk2-ok { position: absolute; top: 2px; left: 2px; z-index: 1; display: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #6a4dff; color: #fff; box-shadow: 0 4px 10px rgba(80, 60, 220, .4); }
.rk2-ok svg { width: 16px; height: 16px; }
.rk2-card.on .rk2-ok { display: grid; }
.rk2-view, .rk2-sel { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 34px; border-radius: 10px; font: 700 13px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.rk2-view { border: 1.5px solid #eceafb; background: #f8f7ff; color: #1b1d4a; }
.rk2-view svg { width: 16px; height: 16px; }
.rk2-sel { border: 0; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; }
.rk2-none { grid-column: 1 / -1; padding: 30px 16px; text-align: center; color: #5e6188; }
.rk2-none b { display: block; color: #1b1d4a; font-size: 16px; margin-bottom: 6px; }
.rk2-none .rk2-sel { flex: none; padding: 0 18px; margin-top: 10px; height: 40px; }
.rk2-pages { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.rk2-pages button { min-width: 38px; height: 38px; border: 1.5px solid #e3e0fb; border-radius: 10px; background: #fff; font: 700 14px Inter, sans-serif; color: #1b1d4a; cursor: pointer; }
.rk2-pages button.on { background: linear-gradient(135deg, #6a4dff, #4b2fe0); border-color: transparent; color: #fff; }
.rk2-pages button:disabled { opacity: .4; cursor: default; }
.rk2-pinfo { display: flex; gap: 14px; margin-bottom: 14px; }
.rk2-pinfo > img { width: 48%; aspect-ratio: .8 / 1; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 22px rgba(40, 30, 120, .18); flex: none; }
.rk2-pinfo > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rk2-pinfo b { font-size: 17px; }
.rk2-pinfo span { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #2a2d5a; line-height: 1.3; }
.rk2-pinfo span svg { width: 17px; height: 17px; flex: none; color: #5b3df5; }
.rk2-pinfo em { font-style: normal; font-weight: 700; }
.rk2-use, .rk2-ghost { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; margin-top: 10px; border-radius: 14px; font: 700 15.5px Inter, sans-serif; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.rk2-use { border: 0; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; box-shadow: 0 10px 22px rgba(75, 47, 224, .3); }
.rk2-ghost { border: 1.5px solid #dcd6fb; background: #fff; color: #1b1d4a; }
.rk2-use svg, .rk2-ghost svg { width: 20px; height: 20px; }
.rk2-ghost:hover { border-color: #6a4dff; }
.rk2-cta { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 22px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(60, 50, 160, .08); }
.rk2-cico { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; background: #f1eeff; color: #6a4dff; }
.rk2-cico svg { width: 30px; height: 30px; }
.rk2-cta b { font-size: 19px; }
.rk2-cta p { margin: 3px 0 0; color: #5e6188; font-size: 14.5px; }
.rk2-custom { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 700 16px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(75, 47, 224, .3); white-space: nowrap; }
.rk2-custom svg { width: 20px; height: 20px; }
.rk2-chosen { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 10px; border-radius: 14px; background: #f5f3ff; border: 1.5px solid #e2dcff; font-size: 14px; }
.rk2-chosen[hidden] { display: none; }
.rk2-chosen img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.rk2-chosen button { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #e9e4ff; color: #4b2fe0; font-size: 17px; cursor: pointer; }
@media (max-width: 1400px) and (min-width: 981px) { .rk2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .rk2-body { grid-template-columns: minmax(0, 1fr); }
  .rk2-ht { max-width: none; }
  .rk2-himg { opacity: .25; max-width: 70%; }
  #rk2Types { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  #rk2Types button { flex: none; height: 40px; }
  .rk2-types h3 { margin-bottom: 8px; }
  .rk2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rk2-bar { flex-wrap: wrap; }
  .rk2-search { width: 100%; order: 3; }
  .rk2-cta { flex-wrap: wrap; }
  .rk2-custom { margin-left: 0; width: 100%; justify-content: center; white-space: normal; font-size: 14.5px; padding: 0 14px; }
}
@media (max-width: 720px) {
  .rk2-hero { padding: 14px; border-radius: 20px; }
  .rk2-hico { width: 48px; height: 48px; } .rk2-hico svg { width: 26px; height: 26px; }
  .rk2-hero h2 { font-size: 22px; } .rk2-hero p { font-size: 13px; }
  .rk2-types, .rk2-main, .rk2-pick { padding: 12px; border-radius: 18px; }
  .rk2-card > b { font-size: 13px; }
  .rk2-view, .rk2-sel { font-size: 12px; height: 32px; }
  .rk2-view svg { display: none; }
}
.rk2-body { grid-template-columns: clamp(200px, 14vw, 260px) minmax(0, 1fr) clamp(280px, 22vw, 400px); }
.rk2-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)) !important; }
.rk2-card > div { flex-wrap: wrap; }
.rk2-view, .rk2-sel { flex: 1 1 64px; min-width: 0; padding: 0 6px; }
.rk2-bar h3 { white-space: nowrap; }
@media (max-width: 1500px) and (min-width: 981px) {
  .rk2-pinfo { flex-direction: column; }
  .rk2-pinfo > img { width: 100%; aspect-ratio: 1.4 / 1; }
  .rk2-bar { flex-wrap: wrap; } .rk2-search { flex: 1 1 160px; width: auto; }
}
@media (max-width: 980px) { .rk2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 980px) { .rk2-body { grid-template-columns: minmax(0, 1fr) !important; } }
/* reklama: "Tanlangan shablon" paneli kerak emas */
.rk2-pick { display: none !important; }
@media (min-width: 981px) { .rk2-body { grid-template-columns: clamp(200px, 14vw, 260px) minmax(0, 1fr) !important; } }
.rk2-card.on { border-color: #eeecfb; box-shadow: none; }
.rk2-card.on .rk2-ok { display: none; }
/* reklama sahifasi: "← Xizmatlar" tugmasi kerak emas */ .rk2-back { display: none !important; } .rk2-ht { margin-top: 4px !important; } .rk2-hero { display: flex; align-items: center; }
/* ===== Reklama sahifasi: tepa banner (ixcham, tiniq) ===== */
.rk2-hero { display: flex !important; align-items: center; gap: 18px; min-height: 0 !important; height: clamp(104px, 7.4vw, 128px); padding: 0 clamp(16px, 2vw, 28px) !important; border-radius: 20px !important; background: radial-gradient(420px 180px at 62% 120%, rgba(200, 120, 255, .55), transparent 70%), linear-gradient(100deg, #1f1690 0%, #3a22c9 38%, #6a3df0 70%, #8a4dff 100%) !important; }
.rk2-ht { flex: 1 1 auto; max-width: none !important; margin: 0 !important; min-width: 0; z-index: 2; }
.rk2-hico { width: clamp(56px, 4.4vw, 74px) !important; height: clamp(56px, 4.4vw, 74px) !important; border-radius: 18px !important; background: linear-gradient(135deg, #b06bff, #6a3df0) !important; }
.rk2-hero h2 { font-style: italic; font-weight: 900 !important; font-size: clamp(26px, 2.5vw, 42px) !important; letter-spacing: -.6px; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.rk2-hero h2 em { font-style: italic; color: #ffd23d; }
.rk2-hero p { font-size: clamp(13px, 1vw, 17px) !important; font-weight: 500; }
.rk2-himg { position: relative !important; right: auto !important; top: auto !important; flex: 0 1 auto; height: 112% !important; width: auto !important; max-width: 34% !important; align-self: flex-end; object-fit: contain !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%) !important; mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%) !important; }
.rk2-hpills { position: relative; z-index: 2; flex: none; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rk2-hpills li { display: flex; align-items: center; gap: 8px; height: clamp(26px, 1.9vw, 32px); padding: 0 14px 0 10px; border-radius: 16px; background: rgba(30, 15, 120, .35); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font: 600 clamp(12px, .85vw, 14px) Inter, sans-serif; white-space: nowrap; }
.rk2-hpills svg { width: 15px; height: 15px; }
/* ===== pastki blok ===== */
.rk2-cta { position: relative; overflow: hidden; padding: 14px 20px !important; background: linear-gradient(100deg, #ffffff 0%, #f6f2ff 45%, #ece4ff 100%) !important; border: 1px solid #e6e0fb; }
.rk2-cta::before { content: ""; position: absolute; right: 20%; top: -40%; width: 420px; height: 220%; border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 140, 255, .28), transparent); pointer-events: none; }
.rk2-cico { width: 56px !important; height: 56px !important; background: none !important; }
.rk2-cico svg { width: 52px !important; height: 52px !important; }
.rk2-cta b { font-style: italic; font-weight: 800; font-size: clamp(17px, 1.3vw, 21px) !important; color: #141a52; }
.rk2-cta p { color: #2a2d5a !important; font-size: clamp(13px, .95vw, 15.5px) !important; }
.rk2-custom { position: relative; height: 50px !important; padding: 0 30px !important; border-radius: 14px !important; background: linear-gradient(100deg, #6a3df0, #4b2fe0 60%, #5b3df5) !important; box-shadow: 0 10px 24px rgba(75, 47, 224, .35), inset 0 1px 0 rgba(255, 255, 255, .25) !important; }
.rk2-crown { width: 24px !important; height: 24px !important; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
@media (max-width: 1100px) { .rk2-hpills { display: none; } .rk2-himg { max-width: 40% !important; } }
@media (max-width: 720px) {
  .rk2-hero { height: auto; padding: 14px !important; }
  .rk2-himg { display: none; }
  .rk2-cta { padding: 14px !important; }
}
#rk2Sort { flex: none !important; width: auto !important; } @media (min-width: 981px) { .rk2-bar { flex-wrap: nowrap !important; } .rk2-search { flex: 0 1 300px !important; width: auto !important; order: 0 !important; } }
/* reklama kartasi: tugmalarsiz, ko'z belgisi rasmning yuqori o'ng burchagida */
.rk2-eye { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #4b2fe0; cursor: zoom-in; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .15s, background .15s; }
.rk2-eye:hover { transform: scale(1.1); background: #fff; }
.rk2-eye svg { width: 20px; height: 20px; }
.rk2-card > b { margin-bottom: 4px; }
/* reklama tepa banneri: rasmdagi ranglar */
.rk2-hero { background: radial-gradient(360px 140px at 56% 115%, rgba(214, 90, 255, .55), transparent 72%), radial-gradient(300px 120px at 82% -10%, rgba(170, 90, 255, .5), transparent 70%), linear-gradient(100deg, #0d0580 0%, #1d0fa8 22%, #2517d1 36%, #4a18d6 52%, #7a2ee2 72%, #8d3ce8 84%, #6a30c8 100%) !important; box-shadow: 0 14px 30px rgba(40, 15, 160, .35) !important; }
.rk2-hico { background: linear-gradient(140deg, #c58bff 0%, #9a5cff 45%, #6a2fe8 100%) !important; box-shadow: 0 8px 18px rgba(20, 5, 90, .45), inset 0 1px 0 rgba(255, 255, 255, .35) !important; }
.rk2-hero h2 { color: #fff; }
.rk2-hero h2 em { color: #ffd84a !important; text-shadow: 0 2px 10px rgba(255, 200, 40, .25); }
.rk2-hero p { color: #f1ecff !important; }
.rk2-himg { height: 100% !important; max-width: 36% !important; align-self: stretch; object-fit: contain !important; object-position: center bottom !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%) !important; mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%) !important; }
.rk2-hpills li { background: rgba(75, 31, 170, .55) !important; border: 1px solid rgba(239, 236, 247, .45) !important; color: #fff; }
.rk2-hpills svg { color: #fff; }
/* reklama pastki blok: rasmdagi ranglar */
.rk2-cta { background: linear-gradient(100deg, #f9f8fe 0%, #f4f2fe 40%, #efedfd 62%, #f3f1fe 100%) !important; border: 1px solid #e7e3fb !important; box-shadow: 0 8px 22px rgba(80, 60, 200, .1) !important; }
.rk2-cta::before { right: auto !important; left: 44% !important; top: 30% !important; width: 46% !important; height: 160% !important; background: radial-gradient(closest-side, rgba(150, 165, 252, .55), rgba(190, 180, 255, .2) 60%, transparent) !important; }
.rk2-cta b { color: #10154a !important; }
.rk2-cta p { color: #1f2350 !important; }
.rk2-custom { background: linear-gradient(100deg, #7012ea 0%, #9a28f8 16%, #7a10ee 40%, #6408e2 70%, #5004d6 100%) !important; box-shadow: 0 10px 24px rgba(90, 10, 220, .38), inset 0 1px 0 rgba(255, 255, 255, .28) !important; }

/* ===================== Reklama: buyurtma formasi (yangi dizayn) ===================== */
.rkf[hidden] { display: none !important; }
#customStep.rk-f > #customTitle, #customStep.rk-f > #customNote, #customStep.rk-f > #customFields, #customStep.rk-f > #customErr, #customStep.rk-f > .nav, #customStep.rk-f #rkFormHead, #customStep.rk-f #rkFormSamples { display: none !important; }
body.rkf-open { background: radial-gradient(900px 500px at 92% 10%, rgba(241, 119, 254, .38), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(70, 70, 190, .45), transparent 60%), linear-gradient(160deg, #090a57 0%, #191a7c 40%, #312ba1 100%) fixed !important; }
body.rkf-open #work { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 var(--page-pad, 24px) 24px !important; box-sizing: border-box; background: none !important; box-shadow: none !important; }
#customStep.rk-f { max-width: none !important; width: 100% !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.rkf { font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.rkf-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: clamp(190px, 15vw, 240px); padding: 12px 4px 0; color: #fff; }
.rkf-crumbs { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.rkf-crumbs button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); font: 600 15px Inter, sans-serif; cursor: pointer; }
.rkf-crumbs button:hover { color: #fff; text-decoration: underline; }
.rkf-crumbs svg { width: 20px; height: 20px; }
.rkf-crumbs b { color: #fff; }
.rkf-ht { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; margin-top: 18px; max-width: 54%; }
.rkf-hico { display: grid; place-items: center; width: clamp(70px, 6vw, 104px); height: clamp(70px, 6vw, 104px); flex: none; border-radius: 24px; background: linear-gradient(140deg, #b06bff, #6a2fe8 60%, #4b2fe0); color: #fff; box-shadow: 0 12px 28px rgba(20, 5, 90, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.rkf-hico svg { width: 52%; height: 52%; }
.rkf-hero h2 { margin: 0; font-size: clamp(34px, 3.2vw, 54px); font-weight: 800; letter-spacing: -.8px; line-height: 1.05; }
.rkf-hero h2 em { font-style: normal; color: #ffc928; }
.rkf-hero p { margin: 8px 0 0; font-size: clamp(15px, 1.25vw, 21px); color: rgba(255, 255, 255, .92); line-height: 1.35; }
.rkf-himg { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 50%; object-fit: contain; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); pointer-events: none; }
.rkf-body { display: grid; grid-template-columns: clamp(300px, 24vw, 420px) minmax(0, 1fr); gap: 22px; margin-top: 10px; align-items: start; }
.rkf-side { display: flex; flex-direction: column; gap: 18px; }
.rkf-glass { padding: 20px; border-radius: 24px; background: linear-gradient(160deg, rgba(120, 100, 255, .38), rgba(60, 50, 180, .32)); border: 1.5px solid rgba(190, 170, 255, .55); box-shadow: 0 14px 30px rgba(5, 5, 60, .35), inset 0 1px 0 rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.rkf-glass h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: clamp(18px, 1.4vw, 23px); font-weight: 800; }
.rkf-glass h3 span { font-size: 1.3em; }
.rkf-glass ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rkf-glass li { display: flex; align-items: center; gap: 12px; font-size: clamp(14.5px, 1.05vw, 17.5px); font-weight: 500; }
.rkf-glass li svg { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: #3b8bff; color: #fff; box-sizing: border-box; }
.rkf-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rkf-ex button { display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 10px 12px; border: 0; border-radius: 18px; background: #fff; color: #1b1d4a; text-align: left; cursor: pointer; box-shadow: 0 8px 18px rgba(10, 10, 80, .25); transition: transform .15s; }
.rkf-ex button:hover { transform: translateY(-3px); }
.rkf-ex i { font-style: normal; font-size: 30px; flex: none; }
.rkf-ex b { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.rkf-ex small { display: block; font-size: 11.5px; font-weight: 600; }
.rkf-card { padding: 20px 26px 24px; border-radius: 26px; background: rgba(255, 255, 255, .97); box-shadow: 0 20px 44px rgba(5, 5, 60, .35); }
.rkf-steps { display: flex; align-items: center; gap: 10px; padding: 6px; margin-bottom: 18px; border-radius: 20px; background: #f1effc; }
.rkf-sico { display: grid; place-items: center; width: 56px; height: 52px; flex: none; color: #6a4dff; }
.rkf-sico svg { width: 34px; height: 34px; }
.rkf-steps > div { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; height: 52px; border-radius: 16px; font-size: clamp(14px, 1.1vw, 18px); font-weight: 700; color: #1b1d4a; }
.rkf-steps > div b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #1b1d4a; box-shadow: 0 2px 6px rgba(40, 30, 120, .15); font-size: 15px; }
.rkf-steps > div.on { background: linear-gradient(135deg, #7a4dff, #4b2fe0); color: #fff; box-shadow: 0 8px 18px rgba(75, 47, 224, .35); }
.rkf-steps > div.done b { background: #2fc26b; color: #fff; }
.rkf-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rkf-f > span { display: flex; align-items: center; gap: 10px; font-size: clamp(14.5px, 1.05vw, 17px); font-weight: 700; color: #1b1d4a; }
.rkf-f > span svg { width: 24px; height: 24px; color: #6a4dff; }
.rkf-f > span i { font-style: normal; color: #e53950; }
.rkf-f input, .rkf-f textarea, .rkf-f select { width: 100%; box-sizing: border-box; border: 1.5px solid #dcd8f2; border-radius: 16px; background: #fff; font: 500 15.5px Inter, sans-serif; color: #1b1d4a; outline: none; transition: border-color .15s, box-shadow .15s; }
.rkf-f input, .rkf-f select { height: 50px; padding: 0 18px; }
.rkf-f textarea { height: 136px; padding: 14px 18px; resize: vertical; }
.rkf-f input:focus, .rkf-f textarea:focus, .rkf-f select:focus { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .14); }
.rkf-f input[hidden] { display: none; }
.rkf-f select + input { margin-top: 2px; }
.rkf-full { margin-bottom: 16px; }
.rkf-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 34%); gap: 16px; margin-bottom: 16px; }
.rkf-up { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 14px; border: 2px dashed #c9bfff; border-radius: 20px; background: #faf9ff; text-align: center; }
.rkf-upico { color: #6a4dff; } .rkf-upico svg { width: 44px; height: 44px; }
.rkf-up b { font-size: 16px; } .rkf-up small { font-size: 14px; color: #2a2d5a; } .rkf-up em { font-style: normal; font-size: 12.5px; color: #5e6188; margin-bottom: 8px; }
.rkf-upbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 2px solid #6a4dff; border-radius: 22px; background: #fff; color: #4b2fe0; font: 700 15.5px Inter, sans-serif; cursor: pointer; }
.rkf-upbtn svg { width: 20px; height: 20px; }
.rkf-upbtn:hover { background: #f4f1ff; }
.rkf-file { display: flex; align-items: center; gap: 8px; margin-top: 8px; max-width: 100%; font-size: 12.5px; }
.rkf-file[hidden] { display: none; }
.rkf-file img { width: 44px; height: 34px; object-fit: cover; border-radius: 6px; }
.rkf-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.rkf-file button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fde7ea; color: #c0263a; cursor: pointer; }
.rkf-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rkf-review { display: grid; gap: 0; padding: 4px 4px 10px; }
.rkf-review[hidden] { display: none; }
.rkf-review h4 { margin: 0 0 10px; font-size: 19px; }
.rkf-review div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e3e0fb; font-size: 15px; }
.rkf-review span { color: #5e6188; font-weight: 600; }
.rkf-review b { white-space: pre-line; word-break: break-word; }
.rkf-review img { width: 140px; margin-top: 10px; border-radius: 12px; }
.rkf-err { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff0f2; color: #c0263a; font-weight: 700; font-size: 14px; }
.rkf-err[hidden] { display: none; }
.rkf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.rkf-back, .rkf-go { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 28px; font: 700 17px Inter, sans-serif; cursor: pointer; }
.rkf-back { border: 1.5px solid #e3e0fb; background: #fff; color: #1b1d4a; box-shadow: 0 6px 16px rgba(40, 30, 120, .08); }
.rkf-back svg { width: 24px; height: 24px; color: #6a4dff; }
.rkf-go { border: 0; background: linear-gradient(100deg, #7a4dff, #5b2fe8 60%, #4b2fe0); color: #fff; box-shadow: 0 12px 26px rgba(75, 47, 224, .4); }
.rkf-go svg { width: 24px; height: 24px; }
.rkf-go:disabled { opacity: .7; cursor: wait; }
.rkf-chosen-slot .rk2-chosen { margin-bottom: 14px; }
@media (max-width: 1200px) and (min-width: 981px) { .rkf-row2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 980px) {
  .rkf-body { grid-template-columns: minmax(0, 1fr); }
  .rkf-side { order: 2; }
  .rkf-ht { max-width: none; }
  .rkf-himg { opacity: .3; max-width: 70%; }
  .rkf-row2, .rkf-row3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body.rkf-open #work { padding: 0 12px 20px !important; }
  .rkf-hero { min-height: 0; padding-bottom: 6px; }
  .rkf-crumbs { font-size: 13px; flex-wrap: wrap; } .rkf-crumbs button { font-size: 13px; }
  .rkf-ht { gap: 14px; margin-top: 12px; }
  .rkf-hico { width: 58px; height: 58px; border-radius: 16px; }
  .rkf-hero h2 { font-size: 27px; } .rkf-hero p { font-size: 14px; }
  .rkf-himg { display: none; }
  .rkf-card { padding: 14px; border-radius: 20px; }
  .rkf-steps { gap: 4px; } .rkf-sico { display: none; }
  .rkf-steps > div { flex-direction: column; gap: 3px; height: auto; padding: 6px 2px; font-size: 11px; text-align: center; }
  .rkf-steps > div b { width: 26px; height: 26px; font-size: 13px; }
  .rkf-nav { flex-direction: column-reverse; } .rkf-back, .rkf-go { justify-content: center; }
}
/* reklama formasi: chapdagi "kimlar uchun" va "misol uchun" kerak emas */ .rkf-side { display: none !important; } .rkf-body { grid-template-columns: minmax(0, 1fr) !important; }
.rk2-cico svg { display: none !important; } .rk2-cico { background: url("/static/images/rk/palitra.png") center / contain no-repeat !important; width: 58px !important; height: 54px !important; }
.rk2-dl { right: 58px !important; text-decoration: none; cursor: pointer !important; }
/* reklama kartasi: pastda "Sotib olish" */
.rk2-buy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; margin-top: 6px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 700 14.5px Inter, sans-serif; cursor: pointer; box-shadow: 0 6px 14px rgba(75, 47, 224, .28); transition: filter .15s, transform .15s; }
.rk2-buy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rk2-buy svg { width: 19px; height: 19px; }

/* ===== To'lov oynasi (tayyor shablonni sotib olish) ===== */
.pay-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(15, 12, 50, .6); backdrop-filter: blur(3px); }
.pay-modal[hidden] { display: none; }
.pay-card { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px rgba(20, 15, 80, .4); font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; box-sizing: border-box; }
.pay-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f2fb; color: #4a4d75; font-size: 22px; cursor: pointer; }
.pay-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.pay-card h3 svg { width: 26px; height: 26px; color: #5b3df5; }
.pay-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #f6f4ff; margin-bottom: 14px; }
.pay-item img { width: 92px; height: 70px; object-fit: cover; border-radius: 10px; flex: none; }
.pay-item b { display: block; font-size: 16px; }
.pay-item small { display: block; color: #5e6188; font-size: 12.5px; margin: 2px 0 4px; }
.pay-item em { font-style: normal; font-weight: 800; color: #4b2fe0; font-size: 14px; }
.pay-step[hidden] { display: none; }
.pay-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 13.5px; font-weight: 700; }
.pay-f small { font-weight: 500; color: #6b6f99; }
.pay-f > input, .pay-tel input { height: 46px; padding: 0 12px; border: 1.5px solid #e2dff5; border-radius: 12px; font: 600 15.5px Inter, sans-serif; color: #1b1d4a; outline: none; width: 100%; box-sizing: border-box; }
.pay-tel { display: flex; border: 1.5px solid #e2dff5; border-radius: 12px; overflow: hidden; }
.pay-tel b { display: grid; place-items: center; padding: 0 12px; background: #f6f5fc; border-right: 1px solid #e2dff5; }
.pay-tel input { border: 0 !important; border-radius: 0; }
.pay-f > input:focus, .pay-tel:focus-within { border-color: #6a4dff; box-shadow: 0 0 0 3px rgba(106, 77, 255, .15); }
.pay-err { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: #fdecee; color: #c0263a; font: 600 13px Inter, sans-serif; }
.pay-err[hidden] { display: none; }
.pay-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 800 15px Inter, sans-serif; cursor: pointer; text-decoration: none; box-shadow: 0 10px 22px rgba(75, 47, 224, .3); box-sizing: border-box; text-align: center; }
.pay-go svg { width: 20px; height: 20px; flex: none; }
.pay-go:disabled { opacity: .7; cursor: wait; }
.pay-tg { background: linear-gradient(135deg, #2aa3ef, #1b8fd8) !important; box-shadow: 0 10px 22px rgba(30, 140, 220, .3) !important; margin-top: 12px; }
.pay-ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #e8f8ee; color: #138a43; font-weight: 700; }
.pay-ok svg { width: 20px; height: 20px; }
.pay-lead { margin: 14px 0 8px; font-size: 14.5px; }
.pay-cardno { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #1b1d4a, #3a22c9); color: #fff; }
.pay-cardno small { display: block; opacity: .75; font-size: 12px; }
.pay-cardno b { display: block; font-size: 19px; letter-spacing: 1px; margin: 3px 0; }
.pay-cardno span { font-size: 11.5px; opacity: .85; }
.pay-cardno button { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .18); color: #fff; font: 700 13px Inter, sans-serif; cursor: pointer; }
.pay-cardno button svg { width: 16px; height: 16px; }
.pay-cardno button span { font-size: 13px; opacity: 1; }
.pay-howto { margin: 12px 0 0; padding-left: 20px; font-size: 13.5px; color: #2a2d5a; line-height: 1.5; }
.pay-later { display: block; width: 100%; margin-top: 8px; height: 40px; border: 0; background: none; color: #5e6188; font: 600 14px Inter, sans-serif; cursor: pointer; }

/* nusxa olish va screenshotdan himoya */
body.site { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.site input, body.site textarea, body.site [contenteditable] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
body.site img { -webkit-user-drag: none; user-drag: none; }
.ns-veil { position: fixed; inset: 0; z-index: 99999; display: none; place-items: center; background: linear-gradient(135deg, #0b1356, #3a1fb0); color: rgba(255, 255, 255, .85); font: 800 28px Inter, sans-serif; }
body.ns-hide .ns-veil { display: grid; }
@media print { body * { display: none !important; } body::after { content: "⚠ Uzr, faqatgina sotib olishingiz mumkin."; display: block; padding: 40px; font: 700 20px sans-serif; } }

/* ===== Profil: hamyon ===== */
.wal { display: block !important; margin: 0 0 16px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(60, 50, 160, .1); font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; }
.wal[hidden] { display: none !important; }
.wal-top { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; color: #fff; background: radial-gradient(300px 140px at 90% 0%, rgba(255, 210, 80, .35), transparent 70%), linear-gradient(120deg, #2a1b8f, #4b2fe0 55%, #7a4dff); box-shadow: 0 12px 26px rgba(75, 47, 224, .3); }
.wal-ico { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; background: rgba(255, 255, 255, .18); }
.wal-ico svg { width: 30px; height: 30px; }
.wal-top small { display: block; font-size: 13px; opacity: .85; }
.wal-top b { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.3px; }
.wal-gift { margin-left: auto; padding: 7px 12px; border-radius: 14px; background: rgba(255, 210, 60, .22); border: 1px solid rgba(255, 220, 120, .55); font-size: 13px; font-weight: 700; white-space: nowrap; }
.wal h4 { margin: 16px 2px 8px; font-size: 16px; font-weight: 800; }
.wal-list { list-style: none; margin: 0; padding: 0; }
.wal-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px dashed #e7e4fb; font-size: 14px; }
.wal-list li:last-child { border-bottom: 0; }
.wal-list li span { font-weight: 800; }
.wal-list li span.in { color: #138a43; }
.wal-list li span.out { color: #c0263a; }
.wal-list li small { color: #8a86b8; font-size: 12px; }
.wal-empty { display: block !important; color: #6b6f99; }
.td-wallet { display: flex; align-items: center; gap: 10px; width: calc(100% - 8px); margin: 6px 4px 4px; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #f3efff, #ebe5ff); color: #3a22c9; font: 700 14px Inter, sans-serif; cursor: pointer; }
.td-wallet[hidden] { display: none !important; }
.td-wallet svg { width: 20px; height: 20px; }
.td-wallet b { margin-left: auto; color: #1b1d4a; }
@media (max-width: 720px) { .wal { padding: 12px; border-radius: 18px; } .wal-top { flex-wrap: wrap; padding: 14px; } .wal-gift { margin-left: 0; } }

/* ===== Hamyonni to'ldirish ===== */
.wal-add { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: #ffd23d; color: #1b1d4a; font: 800 14px Inter, sans-serif; cursor: pointer; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); white-space: nowrap; }
.wal-add svg { width: 18px; height: 18px; }
.wal-top .wal-gift { margin-left: auto; }
.wal-pend { margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; background: #fff8e6; border: 1px solid #ffe2a0; font-size: 13.5px; color: #6b4a00; }
.wal-pend[hidden] { display: none; }
.wal-pend b { display: block; margin-bottom: 4px; }
.wal-pend span { display: block; font-weight: 700; } .wal-pend small { font-weight: 500; opacity: .75; }
.wal-pend p { margin: 6px 0 0; font-size: 12.5px; }
.top-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 12px; }
.top-chips button { height: 34px; padding: 0 12px; border: 1.5px solid #e2dff5; border-radius: 17px; background: #fff; font: 700 13px Inter, sans-serif; color: #3a22c9; cursor: pointer; }
.top-chips button:hover { border-color: #6a4dff; background: #f4f1ff; }
.pay-wal { padding: 12px; border-radius: 16px; background: linear-gradient(120deg, #f3efff, #e9e2ff); margin-bottom: 4px; }
.pay-wal small { display: block; font-size: 12px; color: #5e6188; } .pay-wal b { display: block; font-size: 20px; margin-bottom: 8px; }
.pay-wal p { margin: 0; font-size: 13.5px; color: #4a4d75; }
.pay-walgo { background: linear-gradient(135deg, #18a84b, #10893c) !important; box-shadow: 0 10px 22px rgba(20, 150, 70, .3) !important; }
.pay-link { border: 0; background: none; color: #4b2fe0; font: 700 13.5px Inter, sans-serif; text-decoration: underline; cursor: pointer; padding: 0; }
.pay-or { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: #8a86b8; font-size: 12.5px; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: #e7e4fb; }
@media (max-width: 720px) { .wal-add { width: 100%; justify-content: center; } }
/* admin: hamyon so'rovlari */
#topBadge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ff9f1a; color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
#topBadge[hidden] { display: none; }
#topCard { margin-bottom: 16px; }
.dmini.top-ok { background: #18a84b; color: #fff; border-color: #18a84b; }
.dmini.top-no { color: #c0263a; }
/* Telefonda: profil oxirida "Hisobdan chiqish" (faqat hisobga kirganda) */
@media (max-width: 999px) {
  body.has-hisob #profil [data-pf="main"] > .pf-logout { display: flex !important; width: 100%; margin: 20px 0 8px; height: 54px; border-radius: 16px; border: 1.5px solid #ffc9d0; background: #fff4f5; color: #d42a40; font: 800 15.5px Inter, sans-serif; }
}

/* ===== Telefon: qidiruv oynasi ("+" tugmasi) ===== */
.msr { position: fixed; inset: 0; z-index: 9000; background: rgba(20, 18, 60, .45); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 12px; }
.msr[hidden] { display: none; }
body.msr-on { overflow: hidden; }
.msr-card { width: 100%; max-width: 560px; max-height: calc(100dvh - 24px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(30, 20, 100, .3); overflow: hidden; font-family: Inter, "Segoe UI", sans-serif; color: #1b1d4a; animation: msrIn .18s ease-out; }
@keyframes msrIn { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.msr-bar { display: flex; align-items: center; gap: 10px; margin: 12px; padding: 0 6px 0 14px; height: 52px; border-radius: 16px; background: #f3f1ff; border: 2px solid #6a4dff; }
.msr-bar > svg { width: 22px; height: 22px; color: #6a4dff; flex: none; }
.msr-bar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: 600 16px Inter, sans-serif; color: #1b1d4a; }
.msr-bar input::-webkit-search-cancel-button { display: none; }
.msr-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fff; color: #4b4f7a; font-size: 24px; line-height: 1; cursor: pointer; }
.msr-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 6px; }
.msr-tags[hidden] { display: none; }
.msr-tags button { height: 34px; padding: 0 14px; border: 1.5px solid #e2dff5; border-radius: 17px; background: #fff; color: #3a22c9; font: 700 13px Inter, sans-serif; cursor: pointer; }
.msr-list { overflow-y: auto; padding: 4px 10px 14px; -webkit-overflow-scrolling: touch; }
.msr-list h5 { margin: 10px 6px 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #8a86b8; }
.msr-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; }
.msr-row:active, .msr-row:hover { background: #f4f1ff; }
.msr-row img { width: 52px; height: 52px; flex: none; border-radius: 12px; object-fit: cover; background: #f0eefc; }
.msr-row span { flex: 1; min-width: 0; }
.msr-row b { display: block; font-size: 15px; font-weight: 800; color: #1b1d4a; }
.msr-row small { display: block; font-size: 12.5px; color: #6b6f99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msr-row i { font-style: normal; font-size: 24px; color: #b3b0d6; }
.msr-none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 10px; text-align: center; }
.msr-none span { font-size: 13.5px; color: #6b6f99; }
.msr-none a { margin-top: 8px; padding: 10px 18px; border-radius: 12px; background: #229ed9; color: #fff; font-weight: 700; text-decoration: none; }

/* screenshot ogohlantirishi */
.ns-veil { background: radial-gradient(500px 300px at 50% 40%, rgba(255, 210, 60, .18), transparent 70%), linear-gradient(135deg, #0b1356, #3a1fb0); padding: 20px; }
.ns-box { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 420px; text-align: center; color: #fff; font-family: Inter, "Segoe UI", sans-serif; }
.ns-box svg { width: 92px; height: 92px; filter: drop-shadow(0 8px 20px rgba(255, 200, 40, .45)); }
.ns-box b { font-size: clamp(22px, 5.5vw, 30px); font-weight: 800; line-height: 1.25; }
.ns-box span { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); line-height: 1.45; }

/* egasining kompyuterida himoya o'chiq */
body.site.ns-owner { -webkit-user-select: auto; user-select: auto; -webkit-touch-callout: default; }
body.site.ns-owner img { -webkit-user-drag: auto; }
@media print { body.ns-owner * { display: revert !important; } body.ns-owner::after { content: none !important; display: none !important; } }
.m-bottom .m-plus { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* ===== Reklama: tayyor shablon narxi ===== */
.rk2-card .rk2-price { display: block; margin: 2px 0 6px; font-style: normal; font-weight: 800; font-size: 15px; color: #5b3df5; }
/* admin: shablon narxlari */
.tpl-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eceaf7; }
.tpl-row img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; background: #f2f0fb; }
.tpl-row > div { flex: 1; min-width: 0; }
.tpl-row small { color: #7a7a99; }
.tpl-row .tpl-on { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9px; background: #e3f8ea; color: #1a8a45; font-size: 11.5px; font-weight: 700; }
/* to'lov oynasi: tepada hamyon puli, tagida narx */
.pay-wal.pay-waltop { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0 0 14px; }
.pay-waltop .pay-walnarx { padding-top: 8px; border-top: 1px dashed rgba(91, 61, 245, .25); }
.pay-waltop .pay-walnarx b { color: #5b3df5; }
.pay-short { margin: 0 0 12px; font-size: 14px; color: #6b6f99; }
.pay-waltop b { margin-bottom: 0 !important; }
.tpl-row .tpl-ok { color: #1a8a45; font-weight: 600; } .tpl-row .tpl-warn { color: #b7791f; }
.tpl-row .tpl-up { cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; }
/* admin: tayyor natija rasmi to'liq ko'rinsin (kesilmasin) */
.dresult.photo { object-fit: contain; width: auto; height: auto; max-width: 240px; max-height: 170px; min-width: 90px; }
/* admin savat: belgilash */
.trash-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; background: #f6f5fd; }
.trash-bar .trash-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.trash-bar #trashCount { color: #7a7a99; font-size: 13px; margin-right: auto; }
.trash-bar .dmini:disabled { opacity: .45; cursor: not-allowed; }
.trash-bar input, .otable .tchk input { width: 18px; height: 18px; accent-color: #5b3df5; cursor: pointer; }
.otable .tchk { width: 34px; }
/* qidiruv: kamera bilan */
.msr-cam { width: 40px; height: 40px; flex: none; border: 0; border-radius: 12px; background: #6a4dff; color: #fff; display: grid; place-items: center; cursor: pointer; }
.msr-cam svg { width: 22px; height: 22px; }
.msr-modes { padding: 0 12px 8px; }
.msr-modes[hidden] { display: none; }
.msr-mode { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px dashed #b9adff; border-radius: 16px; background: #f7f5ff; color: #1b1d4a; text-align: left; cursor: pointer; }
.msr-mode svg { width: 30px; height: 30px; flex: none; color: #6a4dff; }
.msr-mode b { display: block; font-size: 15px; } .msr-mode small { display: block; font-size: 12.5px; color: #6b6f99; }
.msr-photo { display: flex; gap: 12px; align-items: center; margin: 6px 4px 8px; padding: 10px; border-radius: 16px; background: #f4f1ff; }
.msr-photo img { width: 74px; height: 74px; flex: none; border-radius: 12px; object-fit: cover; }
.msr-photo b { display: block; font-size: 15px; } .msr-photo small { display: block; font-size: 13px; color: #6b6f99; margin-top: 2px; }
.msr-again { margin-top: 8px; padding: 7px 12px; border: 0; border-radius: 10px; background: #6a4dff; color: #fff; font: 700 13px Inter, sans-serif; cursor: pointer; }
.msr-spin { display: inline-block; width: 20px; height: 20px; margin-top: 8px; border: 3px solid #d9d2ff; border-top-color: #6a4dff; border-radius: 50%; animation: msrSpin .8s linear infinite; }
@keyframes msrSpin { to { transform: rotate(360deg); } }
/* qidiruv: kamera va galereya yonma-yon */
.msr-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 12px; }
.msr-mode { padding: 12px; gap: 10px; }
.msr-mode svg { width: 28px; height: 28px; }
.msr-mode b { font-size: 15px; } .msr-mode small { font-size: 12px; }
.msr-list:empty { display: none; }


/* taklifnoma: "Sotib olish" - reklama shablonidagi tugma kabi */
#tkNext.tk-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font: 700 17px Inter, sans-serif; box-shadow: 0 8px 18px rgba(75, 47, 224, .3); transition: filter .15s, transform .15s; }
#tkNext.tk-buy:hover { filter: brightness(1.08); transform: translateY(-1px); }
#tkNext.tk-buy svg { width: 22px; height: 22px; flex: none; }

/* Buyurtmalarim: tozalash tugmasi */
#mine .work-bar .mine-clear { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #c0392b; border-color: rgba(192, 57, 43, .35); }
#mine .work-bar .mine-clear svg { width: 17px; height: 17px; }
#mine .work-bar .mine-clear:hover { background: #fff1ef; }

.tpl-group { margin: 18px 0 8px; font-size: 15px; color: #4a4b66; }

#sConfirm.tk-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; box-shadow: 0 8px 18px rgba(75, 47, 224, .3); }
#sConfirm.tk-buy svg { width: 20px; height: 20px; flex: none; }

/* Suratlar "Tekshiring": ma'lumotlar ro'yxati yashirin, "Sotib olish" surat ostida o'rtada */
#sCheck #sSummary { display: none; }
#sCheck .snav { flex-direction: column; align-items: center; gap: 12px; }
#sCheck .snav #sConfirm { order: -1; min-width: 260px; height: 54px; font-size: 17px; }
#sCheck .snav #sBack3 { min-width: 160px; height: 44px; }
@media (max-width: 720px) { #sCheck .snav .btn { flex: none; width: 100%; max-width: 360px; } }

.tpl-ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; font-weight: 800; font-size: 22px; flex: none; }

#saveBtn.tk-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: linear-gradient(135deg, #6a4dff, #4b2fe0); color: #fff; box-shadow: 0 8px 18px rgba(75, 47, 224, .3); }
#saveBtn.tk-buy svg { width: 20px; height: 20px; flex: none; }

/* juda tor telefonlar (≤ 360px): xizmat kartochkasidagi uzun nom strelka ustiga chiqmasin */
@media (max-width: 360px) {
  #svcGrid .svc b { font-size: 13px; max-width: 72%; }
  #svcGrid .svc::after { display: none; }
}

/* planshet (721–1200px): yuqori menyu ekranga sig'sin (yon tomonga surilmasin) */
@media (min-width: 721px) and (max-width: 1200px) {
  .topbar { padding-left: 14px !important; padding-right: 14px !important; gap: 8px; }
  .topbar > nav { gap: 2px !important; min-width: 0; }
  .topbar > nav a { padding-left: 10px !important; padding-right: 10px !important; font-size: 14px !important; }
  .topbar > nav a svg { display: none !important; }
  .topbar > div:last-child { gap: 6px !important; flex-shrink: 0; }
  .topbar > div:last-child > .tg, .topbar > div:last-child > .wa { display: none !important; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .topbar > a > span > span:last-child { display: none; }
}

/* "Tez kunda" - hali ishga tushmagan xizmatlar */
.svc-soon { position: relative; cursor: default !important; }
.svc-soon > img, .svc-soon .sp-img, .svc-soon > .sp-body { filter: grayscale(.55); opacity: .75; }
.soon-badge { position: absolute; top: 8px; right: 8px; z-index: 3; padding: 4px 9px; border-radius: 999px; background: #e5262f; color: #fff; font: 800 11px/1.2 Inter, sans-serif; letter-spacing: .2px; box-shadow: 0 4px 10px rgba(229, 38, 47, .35); pointer-events: none; white-space: nowrap; }
.soon-toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 9999; max-width: min(92vw, 420px); padding: 12px 16px; border-radius: 14px; background: #1b1d4a; color: #fff; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.soon-toast b { color: #ff6b70; margin-right: 6px; }
.soon-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* telefon: pastki menyu - suzib turuvchi yumaloq panel, faol bo'lim binafsha "tabletka", "+" gradient doira */
@media (max-width: 720px) {
  .m-bottom { left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); height: 64px; padding: 0 6px; border-radius: 22px; border: 1px solid rgba(91, 61, 245, .12); background: rgba(250, 249, 255, .97); box-shadow: 0 10px 30px rgba(40, 30, 120, .16); display: grid; grid-template-columns: 1fr 1fr 64px 1fr 1fr; justify-items: center; align-items: center; column-gap: 2px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .m-bottom a { width: auto; max-width: 100%; min-width: 0; padding: 7px 8px; white-space: nowrap; border-radius: 14px; gap: 3px; font-size: 10.5px; transition: background .2s, color .2s; }
  .m-bottom a.on { color: #fff; background: linear-gradient(135deg, #7a4dff, #5b2fe8); box-shadow: 0 6px 14px rgba(91, 47, 232, .35); }
  .m-bottom a.on svg { color: #fff; }
  .m-bottom .m-plus { width: 56px; height: 56px; min-width: 0; padding: 0; margin-top: -14px; border-radius: 50%; background: linear-gradient(135deg, #6a3dff 0%, #9b3cf5 55%, #d23ce8 100%); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(155, 92, 255, .25), 0 10px 22px rgba(120, 50, 230, .45), inset 0 2px 6px rgba(255, 255, 255, .35); }
  .m-bottom .m-plus.on { background: linear-gradient(135deg, #6a3dff 0%, #9b3cf5 55%, #d23ce8 100%); }
  .m-bottom .m-plus svg { width: 28px; height: 28px; }
  .m-bottom .mine-dot { top: 4px; right: 10px; }
}
@media (max-width: 720px) {
  body.site:has(#mine:not([hidden])) .m-bottom, body.site:has(#svcPage:not([hidden])) .m-bottom, body.site:has(#profil:not([hidden])) .m-bottom { display: grid; }
}

/* ===== "+" Tezkor buyurtma oynasi ===== */
.tz-sheet { position: fixed; inset: 0; z-index: 1200; background: rgba(20, 16, 60, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.tz-sheet.on { opacity: 1; }
.tz-sheet[hidden] { display: none; }
.tz-card { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 26px 26px 0 0; padding: 22px 18px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(40, 30, 120, .25); transform: translateY(40px); transition: transform .22s ease; overflow: hidden; }
.tz-sheet.on .tz-card { transform: none; }
@media (min-width: 721px) { .tz-sheet { align-items: center; } .tz-card { border-radius: 26px; } }
.tz-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1effb; color: #1b1d4a; font-size: 22px; line-height: 1; cursor: pointer; }
.tz-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 800 21px Inter, sans-serif; color: #1b1d4a; }
.tz-rocket { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #ffe7f1, #ffd9e6); color: #e5265f; }
.tz-rocket svg { width: 20px; height: 20px; }
.tz-lead { margin: 0 0 14px; color: #5e6188; font-size: 14px; }
.tz-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; border: 1.5px solid #ebe7fb; border-radius: 16px; background: #faf9ff; text-align: left; cursor: pointer; font: inherit; color: #1b1d4a; transition: border-color .15s, background .15s, transform .15s; }
.tz-opt:hover, .tz-opt:focus-visible { border-color: #8b6dff; background: #f4f0ff; transform: translateY(-1px); }
.tz-opt i { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #ede7ff, #e2d9ff); color: #5b3df5; }
.tz-opt i svg { width: 22px; height: 22px; }
.tz-opt span { flex: 1; min-width: 0; }
.tz-opt b { display: block; font-size: 15px; }
.tz-opt small { display: block; color: #6b6f99; font-size: 12.5px; margin-top: 2px; }
.tz-opt em { font-style: normal; font-size: 22px; color: #8b8fb8; }
.tz-art { display: flex; justify-content: center; margin-top: 4px; }
.tz-art svg { width: 190px; height: auto; }

/* ===== "Yangi buyurtma" sahifasi ===== */
.tz-page { position: fixed; inset: 0; z-index: 1150; background: #f4f2ff; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tz-page[hidden] { display: none; }
body.tz-open { overflow: hidden; }
body.tz-open .m-bottom { display: none !important; }
.tz-wrap { max-width: 560px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.tz-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 14px 14px; background: linear-gradient(135deg, #5b3df5, #7a4dff); color: #fff; border-radius: 0 0 22px 22px; }
.tz-top b { font: 800 18px Inter, sans-serif; }
.tz-top button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.tz-top button svg { width: 20px; height: 20px; }
.tz-steps { list-style: none; display: flex; justify-content: space-between; margin: 16px 16px 4px; padding: 0; position: relative; }
.tz-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 15px; border-top: 2px dashed #d6cffb; }
.tz-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; font-size: 12px; color: #8b8fb8; }
.tz-steps b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e7e3fa; color: #6b6f99; font-weight: 800; }
.tz-steps li.on { color: #3b2fc9; font-weight: 700; }
.tz-steps li.on b { background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; box-shadow: 0 0 0 5px rgba(122, 77, 255, .18); }
.tz-steps li.done b { background: #22b25a; color: #fff; }
.tz-body { flex: 1; margin: 10px 12px 0; padding: 16px 14px; background: #fff; border-radius: 20px; box-shadow: 0 6px 20px rgba(40, 30, 120, .07); }
.tz-lbl { display: flex; align-items: center; gap: 7px; margin: 14px 0 7px; font: 700 14px Inter, sans-serif; color: #1b1d4a; }
.tz-lbl:first-child { margin-top: 0; }
.tz-lbl svg { width: 17px; height: 17px; color: #5b3df5; flex: none; }
.tz-lbl i { color: #e5262f; font-style: normal; }
.tz-lbl small { color: #8b8fb8; font-weight: 500; }
.tz-lbl.sm { font-size: 12.5px; }
.tz-sel { position: relative; }
.tz-sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border: solid #5e6188; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.tz-sel select, .tz-body textarea, .tz-tel input { width: 100%; box-sizing: border-box; border: 1.5px solid #e4e0f7; border-radius: 13px; background: #fff; font: 500 15px Inter, sans-serif; color: #1b1d4a; }
.tz-sel select { -webkit-appearance: none; appearance: none; height: 46px; padding: 0 34px 0 12px; }
.tz-body textarea { padding: 11px 12px; resize: vertical; min-height: 96px; }
.tz-sel select:focus, .tz-body textarea:focus, .tz-tel input:focus { outline: none; border-color: #7a4dff; box-shadow: 0 0 0 3px rgba(122, 77, 255, .15); }
.tz-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; border: 2px dashed #cfc6f7; border-radius: 16px; background: #faf8ff; text-align: center; cursor: pointer; }
.tz-drop.hl { border-color: #8b6dff; background: #f3eeff; }
.tz-drop i { color: #5b3df5; } .tz-drop i svg { width: 30px; height: 30px; }
.tz-drop b { font-size: 14px; color: #1b1d4a; }
.tz-drop small { font-size: 12px; color: #8b8fb8; }
.tz-pick { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 12px; background: linear-gradient(135deg, #7a4dff, #5b2fe8); color: #fff; font-weight: 700; font-size: 13.5px; }
.tz-pick svg { width: 16px; height: 16px; }
.tz-file { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid #e4e0f7; border-radius: 14px; background: #faf9ff; }
.tz-file img, .tz-file > i { width: 54px; height: 54px; flex: none; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: #ede7ff; color: #5b3df5; }
.tz-file > i svg { width: 26px; height: 26px; }
.tz-file span { flex: 1; min-width: 0; }
.tz-file b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-file small { color: #8b8fb8; }
.tz-file button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #ffe9ea; color: #e5262f; font-size: 20px; cursor: pointer; flex: none; }
.tz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tz-two .tz-sel select { font-size: 13.5px; padding-left: 10px; }
@media (max-width: 340px) { .tz-two { grid-template-columns: 1fr; } }
.tz-tel { display: flex; align-items: center; border: 1.5px solid #e4e0f7; border-radius: 13px; overflow: hidden; }
.tz-tel span { padding: 0 12px; height: 46px; display: grid; place-items: center; background: #f4f2ff; font-weight: 700; color: #5e6188; }
.tz-tel input { border: 0; border-radius: 0; height: 46px; padding: 0 12px; }
.tz-h { margin: 0 0 6px; font: 800 17px Inter, sans-serif; color: #1b1d4a; }
.tz-note { margin: 0 0 12px; font-size: 13.5px; color: #6b6f99; }
.tz-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 10px 0 14px; font-size: 14px; }
.tz-sum dt { color: #6b6f99; } .tz-sum dd { margin: 0; font-weight: 700; color: #1b1d4a; word-break: break-word; white-space: pre-line; }
.tz-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff0f0; color: #c0262f; font-size: 13.5px; }
.tz-foot { position: sticky; bottom: 0; padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #f4f2ff 70%, rgba(244, 242, 255, 0)); }
.tz-go { width: 100%; height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #6a3dff, #4b2fe0); color: #fff; font: 800 16.5px Inter, sans-serif; box-shadow: 0 10px 22px rgba(75, 47, 224, .35); cursor: pointer; }
.tz-go:disabled { opacity: .7; }
.tz-go svg { width: 20px; height: 20px; }
.tz-done { text-align: center; padding: 20px 6px; }
.tz-done i { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: #22b25a; color: #fff; }
.tz-done i svg { width: 34px; height: 34px; }
.tz-done h4 { margin: 0 0 8px; font: 800 19px Inter, sans-serif; color: #1b1d4a; }
.tz-done p { margin: 0; color: #5e6188; font-size: 14px; }
.dilova { display: inline-flex; margin: 10px 0; padding: 9px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }

/* OnlaynXizmat.uz logotipi va nomi */
#siteTop .topbar > a img[src*="logo_web"] { width: auto !important; height: 46px !important; padding: 0 !important; background: none !important; border-radius: 11px !important; object-fit: contain !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
@media (max-width: 720px) { #siteTop .topbar > a img[src*="logo_web"] { height: 38px !important; border-radius: 9px !important; } }
#siteTop .brand-uz, .brand-uz { display: inline-block; margin-left: 3px; padding: 0 6px; border-radius: 7px; background: #ffc928 !important; color: #1b1d4a !important; font-weight: 900; line-height: 1.25; }
#siteTop .topbar > a:first-child span span.brand-uz { color: #1b1d4a !important; }
