/* ===== Ozon'dagidek katalog menyusi ===== */
.cm { position: fixed; inset: 0; z-index: 150; background: rgba(15,20,26,.45); display: none; }
.cm.open { display: block; }
.cm-box { position: absolute; left: 50%; top: 76px; transform: translateX(-50%); width: min(1200px, calc(100% - 24px)); height: calc(100% - 96px);
    background: #fff; border-radius: 18px; display: grid; grid-template-columns: 280px 1fr; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.cm-side { border-right: 1px solid var(--line); overflow-y: auto; padding: 12px 10px; background: #fafbfc; }
.cm-h { font-weight: 800; font-size: 20px; padding: 6px 10px 12px; }
.cm-g { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 10px; border-radius: 10px;
    font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.cm-g:hover { background: #eef3fb; }
.cm-g.on { background: #e3eefc; color: var(--accent); font-weight: 700; }
.cm-gi { font-size: 20px; width: 26px; text-align: center; }
.cm-arr { margin-left: auto; color: #9aa3ad; font-size: 18px; }
.cm-main { overflow-y: auto; padding: 20px 28px 30px; position: relative; }
.cm-title { font-size: 28px; margin: 0 0 4px; }
.cm-all { display: inline-block; margin-bottom: 16px; color: var(--accent); font-weight: 600; text-decoration: none; }
.cm-cols { columns: 3 230px; column-gap: 32px; }
.cm-b { break-inside: avoid; margin-bottom: 22px; }
.cm-c { display: block; font-weight: 800; font-size: 17px; line-height: 1.3; color: #17202a; text-decoration: none; margin-bottom: 8px; }
.cm-c:hover, .cm-sub a:hover { color: var(--accent); }
.cm-sub a { display: block; color: #7a8591; text-decoration: none; font-size: 14px; font-weight: 400; padding: 4px 0 4px 2px; }
.cm-sub.long:not(.open) a.x { display: none; }
.cm-more { border: 0; background: none; color: var(--accent); font: inherit; font-size: 14.5px; padding: 4px 0; cursor: pointer; }
.cm-x { position: absolute; right: 14px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #eef1f4; cursor: pointer; font-size: 16px; z-index: 2; }
.cm-back { display: none; }
@media (max-width: 760px) {
    .cm { background: #fff; }
    .cm-box { inset: 0; left: 0; top: 0; transform: none; width: 100%; height: 100%; border-radius: 0; grid-template-columns: 1fr; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .cm-side { border: 0; background: #fff; padding-top: max(12px, env(safe-area-inset-top)); }
    .cm-main { display: none; padding: 14px 16px 30px; padding-top: max(14px, env(safe-area-inset-top)); }
    .cm.in .cm-side { display: none; }
    .cm.in .cm-main { display: block; }
    .cm-back { display: inline-block; border: 0; background: none; color: var(--accent); font: inherit; font-size: 16px; font-weight: 600; padding: 4px 0 10px; cursor: pointer; }
    .cm-title { font-size: 24px; }
    .cm-cols { columns: 1; }
    .cm-g { font-size: 16px; padding: 13px 10px; border-bottom: 1px solid #f0f2f5; border-radius: 0; }
    .cm-g.on { background: none; color: var(--ink); font-weight: 400; }
}
/* Telefon: plitkalar va ro'yxat (Ozon ilovasidagidek) */
.cmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 4px; }
.cmt { display: block; position: relative; height: 124px; border: 0; border-radius: 16px; background: #f1f4f8; padding: 10px; text-align: left; cursor: pointer; overflow: hidden; font: inherit; }
.cmt-n { position: absolute; top: 10px; left: 10px; right: 8px; z-index: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 13px; line-height: 1.2; color: #17202a; max-height: 48px; }
.cmt-i { position: absolute; right: 8px; bottom: 6px; font-size: 38px; line-height: 1; }
.cml-top { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 19px; position: sticky; top: 0; background: #fff; padding: 6px 0; z-index: 2; }
.cml-back { border: 0; background: #eef1f4; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.cml-row { display: flex; align-items: center; gap: 14px; padding: 8px 0; text-decoration: none; color: #17202a; }
.cml-img { flex: none; width: 58px; height: 58px; border-radius: 16px; background: #f1f4f8; display: grid; place-items: center; font-size: 30px; overflow: hidden; }
.cml-img img { width: 100%; height: 100%; object-fit: cover; }
.cml-n { font-size: 17px; line-height: 1.25; }
.cml-all .cml-n { font-weight: 700; color: var(--accent); }
.cml-arr { margin-left: auto; color: #9aa3ad; font-size: 22px; }
@media (max-width: 760px) { .cm-x { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 12px; } .cm.in .cm-x { display: none; } }
