﻿/* Bobur — zamonaviy marketplace uslubi (to'q sariq urg'u, iliq bej fon) */
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
:root {
  --o: #7C3AED; --o-d: #5B21B6; --o-soft: #EDE9FE; --peach: #F5F3FF; --beige: #E0E7FF;
  --ink: #1E1B4B; --muted: #6B6B6B; --line: #ECECEC; --gray: #ECECEC; --card: #F1F3F4;
  --green: #449562; --r: 14px; --shadow: 0 2px 14px rgba(30, 27, 75, .07);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 500 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #FDFDFD; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.inl { display: inline; margin: 0; }

/* ---------- Tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; padding: 11px 20px; font: 700 .95rem/1 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--o); color: #fff; box-shadow: 0 6px 16px rgba(91, 33, 182, .30); }
.btn-primary:hover { background: var(--o-d); }
.btn-primary.done { background: var(--green); box-shadow: none; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { background: #fafafa; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-xl { padding: 17px 28px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Sarlavha ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .04); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--o); color: #fff; font-size: 1.5rem; font-weight: 800; }
.top-search { display: flex; align-items: center; gap: 10px; background: var(--gray); border-radius: 12px; padding: 0 16px; height: 40px; color: #777; flex: 0 1 435px; min-width: 0; }
.top-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 .92rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); outline: none; }
.top-search input::placeholder { color: #888; }
.top-search.wide { flex: 1; height: 46px; background: #fff; border: 1px solid var(--line); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 8px 18px; font-weight: 600; font-size: .92rem; }
.nav a.active { color: var(--o); }
.nav a.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -8px; height: 2px; border-radius: 2px; background: var(--o); }
.tools { display: flex; align-items: center; gap: 12px; }
.lang-sel { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 700 .82rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; }
.lang-menu { position: absolute; right: 0; top: 46px; min-width: 160px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); padding: 6px; }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.lang-menu a:hover, .lang-menu a.on { background: var(--o-soft); color: var(--o); }
.icon-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.icon-link:hover { background: var(--gray); }
.badge-n { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--o); color: #fff; font: 800 .68rem/18px "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; }
.avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: .75rem; }
.login-btn { gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Bosh banner ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #F5F3FF 0%, #EDE9FE 55%, #E0E7FF 100%); }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background: url("/img/hero.jpg?v=2") center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.hero-in { position: relative; padding-top: 44px; padding-bottom: 44px; }
.hero-text { max-width: 700px; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: var(--o-soft); color: var(--o); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.hero h1 { margin: 24px 0 18px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--o); }
.hero-p { max-width: 460px; color: #4C4A6B; font-size: 1.05rem; line-height: 1.5; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .15); margin: -6px 0 -6px -10px; }
.trusts { display: flex; gap: 22px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; max-width: 175px; line-height: 1.3; color: #3F3D5C; }
.trust-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(124, 58, 237, .12); color: var(--o); }
.trust-ico svg { width: 20px; height: 20px; }

/* ---------- Bloklar ---------- */
.block { padding-top: 32px; padding-bottom: 32px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; margin-bottom: 20px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--o); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30, 27, 75, .12); }
.cat-img { aspect-ratio: 328 / 124; background: var(--card); overflow: hidden; display: grid; place-items: center; font-size: 3rem; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.cat-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cat-body p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.35; font-weight: 500; }
.go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--o-soft); color: var(--o); transition: background .15s, color .15s; }
.cat-card:hover .go { background: var(--o); color: #fff; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.tab { border: 0; background: #F3F3F3; color: #555; padding: 10px 20px; border-radius: 999px; font: 600 .85rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; transition: background .15s; }
.tab:hover { background: #E8E8E8; }
.tab.on { background: var(--o); color: #fff; }

/* ---------- Tovar kartalari ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 8px 24px rgba(30, 27, 75, .1); transform: translateY(-2px); }
.card-img { position: relative; }
.img { aspect-ratio: 1; overflow: hidden; }
.img img { width: 100%; height: 100%; object-fit: cover; }
.img.ph { display: grid; place-items: center; font-size: 4.2rem; }
.tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; color: #fff; font-weight: 800; font-size: .72rem; line-height: 1.5; }
.tag-sale { background: #E11D48; } .tag-hit { background: var(--green); } .tag-new { background: #1E3A8A; }
.wish { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #333; cursor: pointer; transition: color .15s, transform .15s; }
.wish:hover { color: var(--o); transform: scale(1.08); }
.wish.on { color: var(--o); }
.wish.on svg { fill: currentColor; }
.wish-lg { position: static; width: 54px; height: 54px; border: 1px solid var(--line); background: #fff; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.card-title { font-weight: 700; font-size: .95rem; line-height: 1.3; min-height: 2.6em; }
.card-title:hover { color: var(--o); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price b { font-size: 1.1rem; font-weight: 800; }
.price s { color: #999; font-size: .85rem; font-weight: 500; }
.price.big b { font-size: 1.9rem; }
.card .add { margin-top: 8px; }

/* ---------- Katalog ---------- */
.filters { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.filters select { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 600 .9rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.filters .btn { height: 46px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 9px 18px; border-radius: 999px; background: #F3F3F3; font-weight: 600; font-size: .86rem; }
.chip:hover { background: #E8E8E8; }
.chip.on { background: var(--o); color: #fff; }
.empty { text-align: center; padding: 50px 0; color: var(--muted); }

/* ---------- Tovar sahifasi ---------- */
.back { display: inline-block; margin-bottom: 14px; color: var(--muted); font-weight: 600; }
.back:hover { color: var(--o); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pdp-img { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.pdp-img .big.ph { font-size: 9rem; }
.pdp-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.pdp-info h3 { margin: 24px 0 8px; }
.desc { color: #4a4a4a; }
.buy { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 42px; height: 46px; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; }
.stepper button:hover { background: var(--o-soft); color: var(--o); }
.stepper input { width: 48px; height: 46px; border: 0; text-align: center; font: 700 1rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -moz-appearance: textfield; }
.stepper .unit-l { font-size: .8rem; font-weight: 600; color: var(--muted); padding-right: 2px; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mt { margin: 38px 0 16px; }

/* ---------- Savat va buyurtma ---------- */
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.ci { display: grid; grid-template-columns: 84px 1fr auto 130px; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.ci .img { width: 84px; height: 84px; border-radius: 10px; }
.ci .img.ph { font-size: 2rem; }
.ci .nm { font-weight: 700; }
.ci .nm:hover { color: var(--o); }
.ci .unit { color: var(--muted); font-size: .85rem; }
.ci .rm { border: 0; background: none; color: var(--o); font: 700 .82rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; padding: 6px 0 0; }
.ci .sum { text-align: right; font-weight: 800; }
.cart-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 20px; background: var(--peach); border-radius: var(--r); }
.total { font-size: 1.8rem; font-weight: 800; }
.co { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .88rem; }
.form input, .form textarea { padding: 13px 14px; border: 1px solid #DDD; border-radius: 10px; font: 500 1rem "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: #fff; }
.form input:focus, .form textarea:focus, .filters select:focus { outline: 2px solid var(--o); outline-offset: -1px; border-color: transparent; }
.note { color: var(--muted); font-size: .88rem; margin: 0; }
.error { color: #B91C1C; font-weight: 600; margin: 0; }
.summary { background: var(--peach); border-radius: 16px; padding: 22px; position: sticky; top: 90px; }
.summary h3 { margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #DDD6FE; font-size: .93rem; }
.summary .tot { display: flex; justify-content: space-between; padding-top: 14px; font-size: 1.25rem; font-weight: 800; }
.thanks { text-align: center; max-width: 560px; margin: 0 auto; padding-top: 70px; padding-bottom: 70px; }
.thanks .ok { width: 78px; height: 78px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.4rem; }
.thanks h1 { margin-bottom: 12px; }
.lead { font-size: 1.1rem; color: #444; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.crow { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.crow:last-child { border: 0; } .crow span { color: var(--muted); } .crow a { color: var(--o); }

/* ---------- Hisob ---------- */
.auth { max-width: 440px; margin: 20px auto; }
.auth h1 { margin-bottom: 18px; font-size: 1.9rem; }
.auth-alt { text-align: center; margin-top: 16px; } .auth-alt a { color: var(--o); font-weight: 800; }
.ord { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.ord-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.st { padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: var(--o-soft); color: var(--o); }
.st-processing { background: #FFF3D6; color: #A86A00; } .st-shipped { background: #DEEBFA; color: #1F5FAE; }
.st-done { background: #DDF1E4; color: #2F7A4C; } .st-cancelled { background: #F3DADA; color: #9B2C2C; }

/* ---------- Qadamlar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--peach); border-radius: var(--r); padding: 22px; }
.step-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--o); color: #fff; font-weight: 800; }
.step h3 { margin-bottom: 4px; } .step p { margin: 0; color: #4C4A6B; font-size: .92rem; }

/* ---------- Pastki qism ---------- */
.site-footer { margin-top: 40px; background: #1E1B4B; color: #C7D2FE; padding-top: 40px; }
.site-footer .brand { color: #fff; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.foot h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.foot a:not(.brand), .foot span { display: block; padding: 3px 0; color: #C7D2FE; }
.foot a:hover { color: #fff; }
.foot .muted { color: #A5B4FC; }
.copy { padding-top: 16px; padding-bottom: 22px; border-top: 1px solid #312E81; color: #A5B4FC; font-size: .85rem; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #1E1B4B; color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 99; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Moslashuvchanlik ---------- */
@media (max-width: 1180px) {
  .top-search { flex-basis: 260px; }
  .nav a { padding: 8px 12px; } .nav a.active::after { left: 12px; right: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bg { width: 46%; }
}
@media (max-width: 980px) {
  .bar { gap: 14px; flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .top-search { order: 5; flex: 1 1 100%; }
  .tools { margin-left: auto; }
  .burger { display: flex; }
  .nav { display: none; order: 6; flex: 1 1 100%; flex-direction: column; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); } .nav a.active::after { display: none; }
  .hero-bg { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
  .pdp, .co { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps, .foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 1.3rem; } .brand-mark { width: 36px; height: 36px; }
  .login-txt { display: none; } .login-btn { padding: 9px 12px; }
  .hero-in { padding-top: 28px; padding-bottom: 28px; }
  .hero-cta { gap: 12px; } .hero-cta .btn { flex: 1 1 100%; }
  .trusts { gap: 14px; } .trust { max-width: 46%; }
  .cat-grid { grid-template-columns: 1fr; }
  .tabs { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab { flex: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px 10px 12px; } .card-title { font-size: .88rem; } .price b { font-size: 1rem; }
  .ci { grid-template-columns: 64px 1fr; } .ci .img { width: 64px; height: 64px; }
  .ci .stepper { grid-column: 1 / 2; justify-self: start; } .ci .sum { grid-column: 2; text-align: right; }
  .cart-foot { flex-direction: column; align-items: stretch; } .cart-foot > div:last-child .btn { flex: 1; }
  .ord { flex-direction: column; } .ord-r { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Maketga aniq moslash (1536 px) ---------- */
.wrap { max-width: 1394px; }
.bar { gap: 0; }
.bar .top-search { margin-left: 63px; }
.nav { margin-left: 47px; margin-right: auto; }
.hero-bg { width: 53%; background-size: auto 100%; background-position: right center; }
.hero-in { padding-top: 44px; padding-bottom: 0; height: 507px; }
.hero h1 { margin: 22px 0 14px; font-size: clamp(2.2rem, 3.7vw, 3.55rem); }
.hero-p { max-width: 410px; font-size: 1.1rem; margin-bottom: 22px; }
.hero-cta { margin-bottom: 34px; }
#prodGrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
#prodGrid .card-body { padding: 10px; } #prodGrid .card-title { font-size: .82rem; } #prodGrid .price b { font-size: .95rem; }
@media (max-width: 980px) { .bar { gap: 14px; } .bar .top-search, .nav { margin-left: 0; } .hero-in { height: auto; padding-bottom: 28px; } .hero-bg { background-size: cover; } }
@media (max-width: 640px) { #prodGrid { grid-template-columns: repeat(2, 1fr); } }
.wrap { max-width: 1368px; }
.hero-text { max-width: none; }
.trusts { flex-wrap: nowrap; gap: 18px; }
.trust { max-width: 160px; }
@media (max-width: 980px) { .trusts { flex-wrap: wrap; } }
.site-footer .foot a.brand { display: inline-flex; color: #fff; padding: 0; } .site-footer .foot a.brand .brand-name { color: #fff; }
.site-footer .foot a.brand .brand-mark { display: grid; padding: 0; color: #fff; }
.minq { min-height: 1.3em; } .card .price { margin-top: auto; }
/* Banner: foydalanuvchi bergan 2026-10-17 skrinshotiga moslash */
.hero-bg { width: 50%; background-size: auto 100%; background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.hero-in { height: 508px; padding-top: 46px; }
.hero h1 { margin: 22px 0 16px; }
.hero-p { color: #4C4A6B; font-size: 1.12rem; line-height: 1.45; max-width: 400px; }
.btn-white { font-weight: 800; }
.trusts { gap: 12px; }
.trust { background: rgba(255, 255, 255, .45); border-radius: 14px; padding: 6px 14px 6px 6px; max-width: none; font-size: .8rem; font-weight: 500; color: #333; }
.trust span:last-child { max-width: 112px; }
.trust-ico { width: 44px; height: 44px; background: rgba(124, 58, 237, .12); }
.trust-ico svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .hero-in { height: auto; } .trust span:last-child { max-width: none; } }
.trusts { gap: 10px; }
.trust { padding: 5px 10px 5px 5px; gap: 10px; font-size: .78rem; }
.trust span:last-child { max-width: 100px; }
.trust:nth-child(3) span:last-child { max-width: 60px; }
.trust:nth-child(4) span:last-child { max-width: 70px; }
@media (max-width: 980px) { .trust:nth-child(n) span:last-child { max-width: none; } }
.trust:nth-child(2) span:last-child { max-width: 112px; } @media (max-width: 980px) { .trust:nth-child(2) span:last-child { max-width: none; } }
.btn-tg { background: #229ED9; color: #fff; box-shadow: 0 6px 16px rgba(34, 158, 217, .3); margin: 6px 0 14px; }
.btn-tg:hover { background: #1B8BC0; }
.tg-hint { max-width: 420px; margin: 18px auto 10px; color: #444; }
.nav a { white-space: nowrap; }
@media (max-width: 1360px) { .bar .top-search { margin-left: 32px; flex-basis: 300px; } .nav { margin-left: 24px; gap: 0; } .nav a { padding: 8px 12px; } .nav a.active::after { left: 12px; right: 12px; } }
@media (max-width: 1120px) and (min-width: 981px) { .bar .top-search { flex-basis: 200px; margin-left: 20px; } .nav a { padding: 8px 9px; font-size: .88rem; } }
/* Uzun matn (o'zbekcha) sig'ishi uchun: balandlik kamida 508px, kerak bo'lsa o'sadi */
.hero-in { height: auto; min-height: 508px; padding-bottom: 32px; }
.hero h1 { font-size: clamp(2.1rem, 3.4vw, 3.3rem); }
.hero-p { max-width: 440px; }

/* ---------- Binafsha + to'q ko'k palitra (2026-10-19) ---------- */
.btn-primary { background: linear-gradient(135deg, #7C3AED 0%, #1E3A8A 100%); }
.btn-primary:hover { background: linear-gradient(135deg, #6D28D9 0%, #172554 100%); }
.brand-mark { background: linear-gradient(135deg, #7C3AED 0%, #1E3A8A 100%); }
.tab.on, .chip.on, .step-n { background: linear-gradient(135deg, #7C3AED 0%, #1E3A8A 100%); }
.pill { color: #5B21B6; }
.nav a.active { color: #6D28D9; }
/* Banner rasmini binafsha palitraga moslash (yengil tus) */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #A78BFA 0%, #6366F1 100%); mix-blend-mode: soft-light; opacity: .55; }
/* Messenjer tugmalari */
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #1EB955; }
.btn-tg, .btn-wa { margin: 0; }
.msg-btns { display: flex; gap: 10px; flex-wrap: wrap; } .msg-btns.center { justify-content: center; margin: 6px 0 14px; }
.msg-box { margin-top: 18px; padding: 16px 18px; border: 1px dashed #C4B5FD; border-radius: 14px; background: #FAF8FF; }
.msg-box h3 { margin-bottom: 4px; } .msg-box p { margin: 0 0 10px; }

/* ---------- AI yordamchi ---------- */
.ai-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #7C3AED 0%, #1E3A8A 100%); color: #fff; font: 700 .95rem "Manrope", system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 28px rgba(76, 29, 149, .4); transition: transform .15s; }
.ai-fab:hover { transform: translateY(-2px); }
.ai-panel { position: fixed; right: 20px; bottom: 20px; z-index: 61; width: 390px; height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(30, 27, 75, .3); overflow: hidden; }
.ai-panel header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, #7C3AED 0%, #1E3A8A 100%); color: #fff; }
.ai-panel header b { display: block; font-size: 1rem; } .ai-panel header small { opacity: .8; font-size: .75rem; }
.ai-panel header > div:nth-child(2) { flex: 1; }
.ai-ava { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ai-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1rem; cursor: pointer; }
.ai-x:hover { background: rgba(255, 255, 255, .3); }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #F7F5FF; }
.ai-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.ai-msg.bot { align-self: flex-start; background: #fff; border: 1px solid #EDE9FE; border-bottom-left-radius: 4px; }
.ai-msg.me { align-self: flex-end; background: linear-gradient(135deg, #7C3AED 0%, #4338CA 100%); color: #fff; border-bottom-right-radius: 4px; }
.ai-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ai-card { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid #EDE9FE; border-radius: 12px; background: #FDFCFF; }
.ai-thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: #EDE9FE; font-size: 1.6rem; }
.ai-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ai-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: .84rem; }
.ai-info a { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ai-info a:hover { color: var(--o); }
.ai-card .btn { padding: 7px 10px; font-size: .78rem; }
.ai-req-btn { margin-top: 10px; }
.ai-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ai-form label { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; font-weight: 700; }
.ai-form input, .ai-form textarea { padding: 9px 10px; border: 1px solid #DDD6FE; border-radius: 9px; font: 500 .9rem "Manrope", system-ui, sans-serif; }
.ai-done { margin-top: 10px; padding: 10px; border-radius: 10px; background: #ECFDF3; color: #166534; font-size: .85rem; }
.ai-done .msg-btns { margin-top: 8px; } .ai-done .btn { font-size: .8rem; }
.ai-typing { display: flex; gap: 4px; } .ai-typing span { width: 7px; height: 7px; border-radius: 50%; background: #A78BFA; animation: aiDot 1s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .15s; } .ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ai-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px 0; background: #fff; }
.ai-chips button { border: 1px solid #DDD6FE; background: #F5F3FF; color: #5B21B6; padding: 7px 11px; border-radius: 999px; font: 600 .78rem "Manrope", system-ui, sans-serif; cursor: pointer; }
.ai-chips button:hover { background: #EDE9FE; }
.ai-input { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid #F1EEFB; }
.ai-input input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid #DDD6FE; border-radius: 12px; font: 500 .92rem "Manrope", system-ui, sans-serif; }
.ai-input input:focus { outline: 2px solid #7C3AED; outline-offset: -1px; }
.ai-input .btn { padding: 0 16px; }
@media (max-width: 640px) {
  .ai-fab { right: 14px; bottom: 14px; padding: 12px 15px; }
  .ai-panel { inset: 0; width: auto; height: auto; border-radius: 0; }
}

.ai-from-ai { border-color: #C4B5FD; background: linear-gradient(180deg, #FBFAFF, #fff); }
.ai-tag { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px; background: #EDE9FE; color: #6D28D9; font-size: .72rem; font-weight: 800; }
.ai-pending { align-self: flex-start; display: flex; align-items: center; gap: 8px; color: #6D28D9; font-size: .8rem; font-weight: 600; padding: 4px 6px; }
.ai-spin { width: 14px; height: 14px; border: 2px solid #DDD6FE; border-top-color: #7C3AED; border-radius: 50%; animation: aiSpin .8s linear infinite; }
@keyframes aiSpin { to { transform: rotate(360deg); } }
.price .per { font-size: .8rem; color: var(--muted); font-weight: 600; }
/* Do'kon nomi (masalan "Unio Export") sarlavhada bir qatorda */
.brand-name { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 981px) { .brand { font-size: 1.3rem; } .bar .top-search { flex-basis: 220px; margin-left: 24px; } }
@media (max-width: 420px) { .brand { font-size: 1.1rem; gap: 8px; } .tools { gap: 6px; } }
/* Telefonda: logotip va tugmalar bitta qatorda sig'sin */
@media (max-width: 480px) {
  .bar { gap: 8px 6px; } .tools { gap: 2px; }
  .brand { font-size: 1.02rem; gap: 6px; } .brand-mark { width: 32px; height: 32px; font-size: 1.1rem; border-radius: 9px; }
  .icon-link, .burger { width: 34px; height: 34px; } .icon-link svg { width: 20px; height: 20px; }
  .lang-btn { height: 34px; padding: 0 7px; font-size: .72rem; gap: 4px; }
  .login-btn { padding: 8px 10px; font-size: .78rem; }
}
@media (max-width: 389px) {
  .wrap { padding: 0 10px; }
  .brand { font-size: .94rem; gap: 5px; } .brand-mark { width: 30px; height: 30px; }
  .lang-btn { padding: 0 5px; } .login-btn { padding: 8px 8px; } .icon-link, .burger { width: 32px; }
}
