/* SHOXMOBILE — ochiq do'kon sahifasi */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/inter-700.woff2) format('woff2'); }

:root {
    --b5: #4f74f0; --b6: #3a5fe0; --b7: #2f4cc0; --b50: #f0f4ff;
    --fon: #f6f7f9; --sirt: #fff; --chiziq: #e2e8f0; --xira: #64748b; --matn: #0f172a;
    --yashil: #059669; --sariq: #b45309; --sariq-50: #fffbeb;
    --r: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, sans-serif; background: var(--fon); color: var(--matn); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.ik { width: 18px; height: 18px; flex: none; }
.d-ichi { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* tepa */
.d-tepa { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--chiziq); }
.d-tepa-ichi { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.d-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; letter-spacing: -.01em; }
.d-logo b { font-weight: 700; }
.d-logo b span { color: var(--b6); }
.d-logo-belgi { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--b5), var(--b7)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.d-tepa-havola { display: flex; align-items: center; gap: 10px; }
.d-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--b7); }
@media (max-width: 560px) { .d-tel span { display: none; } .d-tel { width: 38px; height: 38px; justify-content: center; border-radius: 10px; background: var(--b50); } }

/* tugmalar */
.d-tugma { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; background: var(--b6); color: #fff; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; }
.d-tugma:hover { background: var(--b7); }
.d-tugma:active { transform: scale(.98); }
.d-tugma-kichik { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.d-tugma-oq { background: #fff; color: var(--b7); }
.d-tugma-oq:hover { background: var(--b50); }
.d-tugma-toliq { width: 100%; height: 40px; font-size: 14px; border-radius: 10px; margin-top: 12px; }

/* hero */
.d-hero { background: radial-gradient(1200px 400px at 80% -10%, rgba(255, 255, 255, .18), transparent), linear-gradient(135deg, #3a5fe0 0%, #2f4cc0 55%, #24398f 100%); color: #fff; padding: 44px 0 52px; }
.d-hero h1 { margin: 0 0 8px; font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.d-hero p { margin: 0 0 20px; font-size: clamp(15px, 2.4vw, 19px); opacity: .9; max-width: 640px; }
.d-afzal { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.d-afzal span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 500; }
.d-afzal .ik { width: 15px; height: 15px; }
.d-hero-tugmalar { display: flex; flex-wrap: wrap; gap: 10px; }
.d-hero .d-tugma:not(.d-tugma-oq) { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); }
.d-hero .d-tugma:not(.d-tugma-oq):hover { background: rgba(255, 255, 255, .26); }

/* katalog */
main.d-ichi { padding-top: 28px; padding-bottom: 40px; scroll-margin-top: 60px; }
.d-katalog-bosh { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.d-katalog-bosh h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.d-katalog-bosh h2 small { font-size: 14px; color: var(--xira); font-weight: 500; margin-left: 4px; }
.d-qidiruv { position: relative; flex: 1 1 260px; max-width: 380px; }
.d-qidiruv .ik { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--xira); }
.d-qidiruv input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid var(--chiziq); border-radius: 12px; background: var(--sirt); font: inherit; color: inherit; outline: none; }
.d-qidiruv input:focus { border-color: var(--b5); box-shadow: 0 0 0 3px rgba(79, 116, 240, .15); }
@media (max-width: 560px) { .d-qidiruv { max-width: none; flex-basis: 100%; } }

.d-filtr { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
.d-filtr::-webkit-scrollbar { display: none; }
.d-filtr button { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--chiziq); background: var(--sirt); font: inherit; font-size: 14px; font-weight: 500; color: var(--matn); cursor: pointer; }
.d-filtr button.faol { background: var(--matn); border-color: var(--matn); color: #fff; }

.d-panjara { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .d-panjara { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.d-karta { background: var(--sirt); border: 1px solid var(--chiziq); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.d-karta:hover { box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .25); transform: translateY(-2px); }
.d-rasm { position: relative; aspect-ratio: 1; background: #f8fafc; display: grid; place-items: center; overflow: hidden; }
.d-rasm img { width: 100%; height: 100%; object-fit: cover; }
.d-rasm-yoq { width: 72px; height: 72px; border-radius: 20px; background: var(--b50); color: var(--b6); display: grid; place-items: center; }
.d-rasm-yoq .ik { width: 36px; height: 36px; stroke-width: 1.5; }
.d-belgi { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.d-belgi-bu { background: var(--sariq-50); color: var(--sariq); border: 1px solid #fde68a; }
.d-karta-ichi { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.d-kat { font-size: 12px; color: var(--xira); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.d-karta h3 { margin: 2px 0 8px; font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-narx { font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; margin-top: auto; }
.d-narx small { font-size: 13px; font-weight: 500; color: var(--xira); }
.d-nasiya { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 13px; color: var(--b7); font-weight: 500; }
.d-nasiya .ik { width: 14px; height: 14px; }
.d-mavjud { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--xira); }
.d-nuqta { width: 7px; height: 7px; border-radius: 50%; background: var(--yashil); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
@media (max-width: 560px) {
    .d-karta-ichi { padding: 10px 10px 12px; }
    .d-karta h3 { font-size: 14px; }
    .d-narx { font-size: 16px; }
    .d-nasiya { font-size: 12px; }
    .d-tugma-toliq { height: 36px; font-size: 13px; }
}
.d-bosh { text-align: center; padding: 50px 16px; color: var(--xira); background: var(--sirt); border: 1px dashed var(--chiziq); border-radius: var(--r); }
.d-bosh a { color: var(--b6); font-weight: 600; }

/* past */
.d-past { background: #0f172a; color: #cbd5e1; padding: 36px 0 20px; }
.d-past .d-logo { color: #fff; }
.d-past .d-logo b span { color: #9db3ff; }
.d-past p { margin: 10px 0 0; font-size: 14px; max-width: 360px; }
.d-past-ichi { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.d-aloqa { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.d-aloqa a, .d-aloqa span { display: inline-flex; align-items: center; gap: 8px; }
.d-aloqa a:hover { color: #fff; }
.d-mualliflik { margin-top: 28px; padding-top: 16px; border-top: 1px solid #1e293b; font-size: 13px; color: #94a3b8; }
.d-mualliflik a { color: #cbd5e1; text-decoration: underline; }
@media (max-width: 560px) { .d-hero-tugmalar .d-tugma { flex: 1 1 auto; } }

/* kartochka to'liq bosiladi */
.d-karta { position: relative; cursor: pointer; }
.d-karta-havola::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.d-karta-havola:focus-visible { outline: none; }
.d-karta:has(.d-karta-havola:focus-visible) { outline: 3px solid rgba(79, 116, 240, .5); outline-offset: 2px; }
.d-ustki { position: relative; z-index: 2; }

/* mahsulot sahifasi */
.d-tovar { padding-top: 18px; padding-bottom: 40px; }
.d-yol { font-size: 13px; color: var(--xira); margin-bottom: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-yol a:hover { color: var(--b6); }
.d-yol span { margin: 0 6px; opacity: .6; }
.d-yol b { color: var(--matn); font-weight: 500; }
.d-tovar-panjara { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) { .d-tovar-panjara { grid-template-columns: 1fr; gap: 18px; } }
.d-tovar-rasm { position: relative; aspect-ratio: 1; background: #f8fafc; border: 1px solid var(--chiziq); border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
@media (min-width: 821px) { .d-tovar-rasm { position: sticky; top: 80px; } }
.d-tovar-rasm img { width: 100%; height: 100%; object-fit: cover; }
.d-tovar-rasm .d-rasm-yoq { width: 120px; height: 120px; border-radius: 30px; }
.d-tovar-rasm .d-rasm-yoq .ik { width: 60px; height: 60px; }
.d-tovar-rasm .d-belgi { top: 16px; left: 16px; font-size: 14px; padding: 4px 12px; }
.d-tovar-malumot h1 { margin: 4px 0 6px; font-size: clamp(24px, 4vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
.d-tovar-narx { font-size: clamp(28px, 5vw, 36px); font-weight: 700; letter-spacing: -.02em; margin: 14px 0 18px; }
.d-tovar-narx small { font-size: 17px; color: var(--xira); font-weight: 500; }
.d-blok { background: var(--sirt); border: 1px solid var(--chiziq); border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; }
.d-blok-sar { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 10px; }
.d-blok-sar .ik { color: var(--b6); }
.d-variant { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.d-variant li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--chiziq); border-radius: 10px; font-size: 14px; white-space: nowrap; }
.d-belgi-kichik { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.d-belgi-kichik.yangi { background: #ecfdf5; color: #047857; }
.d-belgi-kichik.bu { background: var(--sariq-50); color: var(--sariq); }
.d-nasiya-jadval { width: 100%; border-collapse: collapse; font-size: 14px; }
.d-nasiya-jadval th { text-align: left; font-weight: 500; color: var(--xira); font-size: 12.5px; padding: 0 0 6px; }
.d-nasiya-jadval td { padding: 9px 0; border-top: 1px solid var(--chiziq); white-space: nowrap; }
.d-nasiya-jadval td b { color: var(--b7); font-size: 15px; }
.d-nasiya-jadval th:last-child, .d-nasiya-jadval td:last-child { text-align: right; color: var(--xira); }
.d-izoh { margin: 8px 0 0; font-size: 12.5px; color: var(--xira); }
.d-xususiyat { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.d-xususiyat li { display: flex; align-items: center; gap: 10px; }
.d-xususiyat .ik { color: var(--b6); }
.d-tovar-tugmalar { display: flex; gap: 10px; flex-wrap: wrap; }
.d-tovar-tugmalar .d-tugma { flex: 1 1 180px; height: 52px; font-size: 16px; }
.d-tugma-tg { background: #229ed9; }
.d-tugma-tg:hover { background: #1b8bc0; }
.d-oxshash-sar { margin: 40px 0 14px; font-size: 22px; letter-spacing: -.01em; }
.d-tovar-yoq { padding-top: 40px; padding-bottom: 60px; }
