.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.catalog-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:154px}.catalog-builder{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fffdfb;box-shadow:var(--shadow-soft)}.catalog-builder__head{display:flex;align-items:baseline;justify-content:space-between}.catalog-builder__head h2{margin:0;font-size:16px}.catalog-builder__count{font-size:13px;font-weight:700;color:var(--muted)}.catalog-builder__empty{margin:0;font-size:13px;line-height:1.4;color:var(--muted)}.catalog-builder__limit{margin:0;font-size:12px;color:#c0392b}.catalog-builder__list{display:flex;flex-direction:column;gap:8px}.cb-item{display:flex;align-items:center;gap:10px}.cb-item__thumb{width:38px;height:48px;object-fit:cover;border-radius:8px;background:var(--plum-050);flex:0 0 auto}.cb-item__name{flex:1;font-size:13px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.cb-item__remove{flex:0 0 auto;width:24px;height:24px;border:none;border-radius:50%;background:var(--plum-050);color:var(--plum-900);font-size:17px;line-height:1;cursor:pointer}.cb-item__remove:hover{background:#f0d9e8}.product-card__media{cursor:pointer;border:none;padding:0;width:100%;font:inherit;text-align:left}.product-card.is-added{outline:2px solid var(--plum-800);outline-offset:-2px}.product-card__added{position:absolute;top:10px;right:10px;display:none;width:26px;height:26px;place-items:center;border-radius:50%;background:var(--plum-800);color:#fff;font-size:15px}.product-card.is-added .product-card__added{display:grid}@media (max-width:860px){.catalog-layout{grid-template-columns:1fr}.catalog-side{position:static;order:-1}}@media (max-width:720px){.catalog-layout{grid-template-columns:minmax(0,1fr)}.catalog-side{gap:0}.catalog-builder{position:fixed;bottom:0;left:0;right:0;z-index:900;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 12px;padding:10px 16px;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:0 -4px 16px rgb(0 0 0 / .06)}.catalog-builder__head{display:inline-flex;align-items:center;gap:6px;margin:0;justify-self:start}.catalog-builder.has-items .catalog-builder__head{background:var(--plum-050);border-radius:10px;padding:6px 12px;cursor:pointer}.catalog-builder__head h2{font-size:14px}.catalog-builder__count{font-size:13px;font-weight:700;color:var(--muted)}.catalog-builder__chev{display:none;width:7px;height:7px;margin-left:2px;border-right:2px solid var(--plum-800);border-bottom:2px solid var(--plum-800);transform:rotate(-135deg);transition:transform 0.15s}.catalog-builder.has-items .catalog-builder__chev{display:inline-block}.catalog-builder.is-expanded .catalog-builder__chev{transform:rotate(45deg)}.catalog-builder .button--primary{justify-self:end}.catalog-builder__empty,.catalog-builder__limit{display:none}.catalog-builder__list{order:-1;grid-column:1 / -1;width:100%;min-width:0;margin:0;display:flex;flex-direction:row;gap:6px;overflow:hidden}.catalog-builder__list:empty{display:none}.catalog-builder__list .cb-item{flex:1 1 0%;min-width:0;max-width:74px;gap:0}.catalog-builder__list .cb-item__thumb{width:100%;height:46px}.catalog-builder__list .cb-item__name{display:none}.catalog-builder__list .cb-item__remove{display:none}.catalog-builder.is-expanded .catalog-builder__list{flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:42vh;gap:8px;padding:4px 0}.catalog-builder.is-expanded .cb-item{flex:0 0 auto;max-width:none;width:100%;gap:10px}.catalog-builder.is-expanded .cb-item__thumb{width:38px;height:48px}.catalog-builder.is-expanded .cb-item__name{display:block;flex:1;font-size:13px;line-height:1.3;overflow:hidden}.catalog-builder.is-expanded .cb-item__remove{display:grid;place-items:center;padding:0;line-height:1;margin-left:auto}.app-main:has(.catalog-main){padding-bottom:0}.catalog-main{padding-bottom:80px}.catalog-layout:has(.catalog-builder.has-items) .catalog-main{padding-bottom:120px}body:has(.catalog-builder) .mini-footer{padding-bottom:80px}body:has(.catalog-builder.has-items) .mini-footer{padding-bottom:120px}}