.lens-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.lens-page-heading .sub2{margin-bottom:0}
.lens-page-heading .btn{flex:0 0 auto}
.lens-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin-bottom:16px}
.lens-summary>div{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
.lens-summary b{font:800 23px 'Bricolage Grotesque',sans-serif;color:var(--text)}
.lens-summary span{font-size:11.5px;color:var(--muted)}
.lens-summary .danger b{color:var(--red)}
.lens-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.lens-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:190px;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.lens-toolbar label:first-child{flex:1;min-width:280px}
.lens-toolbar input,.lens-toolbar select{height:42px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:0 12px;font:500 13.5px Inter,sans-serif;outline:none}
.lens-toolbar input:focus,.lens-toolbar select:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(224,27,46,.1)}
.lens-toolbar .btn{height:42px}
.lens-catalog-wrap{display:flex;flex-direction:column;gap:10px;padding:0;border:0;background:transparent;overflow:visible}
.lens-group{border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}
.lens-group summary{display:grid;grid-template-columns:auto minmax(260px,1fr) auto auto;align-items:center;gap:13px;padding:15px 17px;cursor:pointer;list-style:none;background:linear-gradient(90deg,rgba(224,27,46,.08),transparent 38%)}
.lens-group summary::-webkit-details-marker{display:none}
.lens-group summary:hover{background:linear-gradient(90deg,rgba(224,27,46,.14),rgba(32,29,34,.35))}
.lens-group summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.lens-group summary b{font-size:15px}
.lens-group summary small{color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lens-group summary i{font-style:normal;color:var(--muted);transition:transform .2s ease}
.lens-group[open] summary i{transform:rotate(180deg)}
.lens-group-code{display:inline-flex;align-items:center;justify-content:center;min-width:66px;padding:6px 9px;border-radius:8px;background:var(--red-soft);color:var(--red);font-size:11px;font-weight:900}
.lens-group-count{color:var(--muted);font-size:11.5px;white-space:nowrap}
.lens-group-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px;border-top:1px solid var(--line);background:rgba(8,8,10,.28)}
.lens-finish-column{min-width:0;border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:12px}
.lens-finish-column>header{display:flex;align-items:center;gap:10px;margin-bottom:11px;padding:0 2px}
.lens-finish-column>header>div{display:flex;flex-direction:column;gap:2px}
.lens-finish-column>header b{font-size:13px}
.lens-finish-column>header small{font-size:10.5px;color:var(--muted)}
.lens-finish-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--surface-2);color:var(--red);font-size:14px}
.lens-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.lens-product-tile{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:9px;position:relative;min-width:0;padding:8px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);transition:border-color .16s ease,transform .16s ease}
.lens-product-tile:hover{border-color:rgba(224,27,46,.65);transform:translateY(-1px)}
.lens-product-tile>img{width:54px;height:54px;object-fit:contain;border-radius:9px;background:#fff}
.lens-product-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
.lens-product-copy span{font-size:9.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.045em}
.lens-product-copy b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lens-product-copy small{font-size:10px;color:var(--red);font-weight:800}
.lens-product-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px;white-space:nowrap}
.lens-product-side .stock-pill{font-size:10.5px;padding:3px 7px}
.lens-product-side em{font-size:9.5px;color:var(--muted);font-style:normal}
.lens-product-actions{grid-column:1/-1;display:flex;gap:5px;padding-top:7px;border-top:1px solid var(--line)}
.lens-product-actions button{flex:1;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--muted);padding:6px 7px;font-size:10.5px;font-weight:700;cursor:pointer}
.lens-product-actions button:hover{border-color:var(--red);color:var(--text)}
.lens-product-actions button.sell{background:var(--red-soft);border-color:rgba(224,27,46,.45);color:var(--red)}
.lens-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:50px;border:1px dashed var(--line);border-radius:14px;background:var(--surface);color:var(--muted)}
.lens-empty b{color:var(--text);font-size:16px}
.lens-sale-preview>header{padding:2px 2px 16px;border-bottom:1px solid var(--line);margin-bottom:15px}
.lens-sale-preview>header>span{color:var(--amber);font-size:10px;font-weight:900;letter-spacing:.08em}
.lens-sale-preview>header h2{margin:5px 0 4px}
.lens-sale-preview>header p{margin:0;color:var(--muted);font-size:13px}
.lens-sale-step{display:grid;grid-template-columns:31px minmax(0,1fr);gap:12px;align-items:start;margin-bottom:14px}
.lens-sale-step>b{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--red);color:#fff;font-size:13px}
.lens-sale-step label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px;font-weight:700}
.lens-sale-step select{height:43px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);padding:0 12px;font-size:14px}
.lens-sale-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lens-sale-results section{border:1px solid var(--line);border-radius:12px;background:var(--surface-2);padding:11px}
.lens-sale-results section h3{margin:0 0 9px;color:var(--muted);font-size:10.5px;text-transform:uppercase;letter-spacing:.05em}
.lens-sale-results section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.lens-sale-option{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);padding:7px;text-align:left;cursor:pointer}
.lens-sale-option:hover,.lens-sale-option.selected{border-color:var(--red);box-shadow:0 0 0 2px rgba(224,27,46,.1)}
.lens-sale-option.selected{background:var(--red-soft)}
.lens-sale-option img{width:40px;height:40px;object-fit:contain;border-radius:7px;background:#fff}
.lens-sale-option span{display:flex;flex-direction:column;gap:2px;min-width:0}
.lens-sale-option b{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lens-sale-option small{font-size:9.5px;color:var(--muted)}
.lens-sale-placeholder{grid-column:1/-1;display:grid;place-items:center;min-height:150px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px}
.lens-sale-selected{display:flex;align-items:center;gap:12px;min-height:0;margin:4px 0 14px;padding:0}
.lens-sale-selected:not(:empty){padding:11px;border:1px solid rgba(23,187,138,.4);border-radius:12px;background:rgba(23,187,138,.08)}
.lens-sale-selected>img{width:54px;height:54px;object-fit:contain;border-radius:9px;background:#fff}
.lens-sale-selected>div:not(.lens-sale-success){display:flex;flex-direction:column;gap:3px}
.lens-sale-selected small{font-size:9.5px;color:var(--green);font-weight:900;letter-spacing:.06em}
.lens-sale-selected b{font-size:13px}
.lens-sale-selected span{font-size:11px;color:var(--muted)}
.lens-sale-success{display:flex;flex-direction:column;gap:4px}
.lens-sale-success b{color:var(--green);font-size:14px}
.lens-sale-success strong{color:var(--text)}
@media(max-width:1100px){.lens-summary{grid-template-columns:repeat(3,minmax(120px,1fr))}.lens-group-body{grid-template-columns:1fr}.lens-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.lens-page-heading{flex-direction:column}.lens-page-heading .btn{width:100%}.lens-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lens-group summary{grid-template-columns:auto minmax(0,1fr) auto}.lens-group-count{display:none}.lens-color-grid,.lens-sale-results,.lens-sale-results section>div{grid-template-columns:1fr}.lens-product-tile{grid-template-columns:50px minmax(0,1fr) auto}.lens-product-tile>img{width:50px;height:50px}.lens-toolbar label,.lens-toolbar label:first-child{width:100%;min-width:0}.lens-sale-step{grid-template-columns:26px minmax(0,1fr)}.lens-sale-step>b{width:26px;height:26px}}
@media(max-width:520px){.lens-group summary{padding:12px 10px;gap:8px}.lens-group-code{min-width:58px}.lens-group summary small{white-space:normal;line-height:1.35}.lens-group-body{padding:8px}.lens-finish-column{padding:8px}.lens-summary>div{padding:12px}.lens-product-side em{display:none}}
