/* «Собери образ» SLR 2.0 — те же цвета, что css/site.css. Все классы с префиксом lk-. */
#looks:empty { display: none; }
.lk-row { margin-top: 18px; }
.lk-head { margin-bottom: 8px; }
.lk-head h2 { font-size: 17px; margin: 0; }
.lk-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.lk-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.lk-card { flex: 0 0 160px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; display: flex; flex-direction: column; }
.lk-new { align-items: center; justify-content: center; gap: 6px; color: var(--accent); font-weight: 700; border-style: dashed; border-color: #b9dcf7; background: #e8f5fd; min-height: 250px; text-align: center; }
.lk-plus { font-size: 34px; line-height: 1; font-weight: 400; }
.lk-new small { color: var(--muted); font-weight: 500; font-size: 12px; padding: 0 14px; }
.lk-collage { display: grid; gap: 2px; aspect-ratio: 4 / 5; background: var(--line); width: 100%; }
.lk-collage.n2 { grid-template-columns: 1fr 1fr; }
.lk-collage.n3, .lk-collage.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.lk-collage.n3 > :first-child { grid-row: span 2; }
.lk-collage > div { background: #eef1f4; overflow: hidden; min-height: 0; }
.lk-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); font-size: 11px; }
.lk-info { padding: 8px 10px 10px; display: grid; gap: 2px; min-width: 0; }
.lk-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-by { color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 6px; }
.lk-by span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-by i { font-style: normal; color: var(--like, #f91880); font-weight: 700; flex: none; }
.lk-sum { font-size: 13px; font-weight: 700; }

body.lk-lock { overflow: hidden; }
.lk-sheet { position: fixed; inset: 0; background: rgba(15,20,25,.45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.lk-sheet[hidden] { display: none; }
.lk-box { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.lk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lk-top h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.lk-x { border: 0; background: #eef1f4; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 15px; flex: none; }
.lk-hero { margin-top: 12px; border-radius: 14px; overflow: hidden; }
.lk-hero .lk-collage { aspect-ratio: auto; height: min(300px, 62vw); }
.lk-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.lk-meta-acts { display: flex; gap: 6px; }
.lk-like { border: 1px solid var(--line); background: #fff; border-radius: 999px; height: 34px; padding: 0 12px; cursor: pointer; font-weight: 700; color: var(--muted); font: inherit; font-weight: 700; font-size: 13px; }
.lk-like.on { color: var(--like, #f91880); border-color: #f7b6d2; background: #feeaf3; }
.lk-items { display: grid; gap: 10px; margin-top: 12px; }
.lk-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.lk-item.off { opacity: .55; }
.lk-th { width: 64px; height: 84px; border-radius: 8px; overflow: hidden; background: #eef1f4; border: 0; padding: 0; cursor: pointer; }
.lk-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-item b { display: block; font-size: 14px; }
.lk-price { font-weight: 700; font-size: 14px; }
.lk-note { color: var(--muted); font-size: 12px; font-weight: 500; }
.lk-sizes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.lk-sizes button { min-width: 36px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; padding: 0 8px; }
.lk-sizes button.on { background: #0f1419; border-color: #0f1419; color: #fff; }
.lk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 10px; }
.lk-total b { font-size: 20px; }
.lk-btn { width: 100%; height: 44px; background: var(--accent); color: #fff; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; margin-top: 4px; }
.lk-btn[disabled] { opacity: .45; cursor: default; }
.lk-hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.lk-err:empty { display: none; }
.lk-err { color: #d0263d; }
.lk-link { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; font-size: 13px; }
.lk-link.danger { color: #d0263d; }
.lk-preview { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; margin-top: 12px; padding: 10px; border-radius: 14px; background: var(--bg); }
.lk-preview .lk-collage { border-radius: 10px; overflow: hidden; }
.lk-empty { aspect-ratio: 4 / 5; border-radius: 10px; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 12px; text-align: center; padding: 6px; }
.lk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.lk-pick { position: relative; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; padding: 0; text-align: left; box-shadow: 0 0 0 1px var(--line); font: inherit; color: inherit; display: flex; flex-direction: column; }
.lk-pick.on { border-color: var(--accent); box-shadow: none; }
.lk-pick[disabled] { opacity: .45; cursor: default; }
.lk-ph { display: block; aspect-ratio: 3 / 4; background: #eef1f4; }
.lk-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-cap { padding: 6px 8px 8px; font-size: 11px; display: grid; gap: 2px; min-width: 0; }
.lk-cap b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.lk-cap span { color: var(--muted); }
.lk-num { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.lk-field { display: grid; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.lk-field input { border: 1px solid var(--line); border-radius: 12px; height: 42px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--text); font-weight: 400; }
@media (max-width: 420px) { .lk-grid { grid-template-columns: repeat(2, 1fr); } .lk-card { flex-basis: 150px; } }
