.shop-cont { background:#fff; min-height:100%; }
.shop-wrap { width:min(1180px, calc(100% - 32px)); margin:28px auto 56px; text-align:left; font-size:16px; }
.shop-hero, .shop-card, .shop-filter { background:#fff; border:1px solid #eef1f5; border-radius:14px; box-shadow:0 4px 10px rgba(0,0,0,.05); }
.shop-hero { padding:28px; display:flex; gap:24px; align-items:center; justify-content:space-between; margin-bottom:18px; }
.shop-hero h1, .shop-card h1 { margin:0 0 10px; font-size:32px; color:#01181a; }
.shop-hero p, .shop-card p { color:#596a70; line-height:1.55; }
.shop-kicker, .shop-meta, .shop-muted { color:#7c8a90; font-size:14px; }
.shop-primary, .shop-secondary { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 18px; border-radius:10px; text-decoration:none; border:0; cursor:pointer; font-weight:600; font-family:inherit; }
.shop-primary { background:#729AFF; color:#fff; box-shadow:0 8px 18px rgba(114,154,255,.24); }
.shop-secondary { background:#F4F7FF; color:#3159BE; border:1px solid #DCE6FF; }
.shop-secondary:disabled { color:#8a97b0; cursor:not-allowed; background:#f5f7fb; border-color:#e7ebf2; }
.shop-filter { padding:16px; display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr auto auto; gap:12px; margin-bottom:18px; }
.shop-filter input, .shop-filter select, .shop-form input, .shop-form select, .shop-form textarea { width:100%; border:1px solid #dfe5ee; border-radius:10px; padding:12px 13px; font:inherit; box-sizing:border-box; background:#fff; color:#01181a; }
.shop-filter input:focus, .shop-filter select:focus, .shop-form input:focus, .shop-form select:focus, .shop-form textarea:focus { outline:none; border-color:#729AFF; box-shadow:0 0 0 3px rgba(114,154,255,.16); }
.shop-advanced { display:none; grid-column:1/-1; padding:14px; background:#F8FAFF; border-radius:10px; color:#596a70; }
.shop-list, .shop-files { display:flex; flex-direction:column; gap:14px; }
.shop-card { padding:24px; margin-bottom:16px; }
.shop-product-row { display:flex; justify-content:space-between; gap:24px; cursor:pointer; transition:.2s; }
.shop-product-row:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(0,0,0,.08); }
.shop-product-main h2 { margin:7px 0 10px; color:#01181a; }
.shop-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.shop-tags span { background:#F4F7FF; color:#42536c; border-radius:999px; padding:7px 11px; font-size:13px; }
.shop-price-box { min-width:180px; display:flex; flex-direction:column; gap:14px; align-items:flex-end; justify-content:center; }
.shop-price { color:#3159BE; font-size:22px; font-weight:700; white-space:nowrap; }
.shop-alert { position:relative; margin:0 0 12px auto; max-width:420px; border-radius:10px; padding:10px 14px; font-size:14px; line-height:1.35; font-weight:600; box-shadow:0 8px 22px rgba(31,47,70,.08); }
.shop-alert-success { background:#eef6ff; color:#3159BE; }
.shop-alert-error { background:#fff0f0; color:#c42525; }
.shop-toast { position:fixed; z-index:99999; top:18px; right:22px; width:min(390px, calc(100vw - 32px)); padding:12px 42px 12px 14px; border-radius:12px; background:#eef6ff; color:#3159BE; box-shadow:0 12px 30px rgba(31,47,70,.18); font-size:14px; line-height:1.4; font-weight:700; opacity:0; transform:translateY(-8px); pointer-events:none; transition:opacity .18s ease, transform .18s ease; }
.shop-toast.shop-toast-error { background:#fff0f0; color:#c42525; }
.shop-toast.is-visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.shop-toast-close{position:absolute;top:7px;right:9px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(49,89,190,.10);color:inherit;font-size:20px;line-height:24px;cursor:pointer}.shop-toast-error .shop-toast-close{background:rgba(196,37,37,.10)}
@media(max-width:760px){.shop-toast{top:12px;right:12px;left:12px;width:auto}.shop-alert{max-width:100%;margin-left:0}}
.shop-breadcrumb { color:#6c7d82; margin-bottom:12px; }
.shop-breadcrumb a { color:#3159BE; text-decoration:none; }
.shop-type-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:14px; margin-top:22px; }
.shop-type-card { display:flex; flex-direction:column; gap:10px; background:#F8FAFF; border:1px solid #e3e9f5; border-radius:14px; padding:20px; text-decoration:none; color:#01181a; }
.shop-type-card:hover { border-color:#729AFF; box-shadow:0 8px 18px rgba(114,154,255,.14); }
.shop-form { display:flex; flex-direction:column; gap:18px; }
.shop-form label span { display:block; margin-bottom:8px; color:#314247; font-weight:600; }
.shop-form label b { color:#e04848; }
.shop-form small { color:#7c8a90; }
.shop-form-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.shop-upload-block { border:1px dashed #cfd8e8; border-radius:14px; padding:18px; background:#FBFCFF; }
.shop-upload-block h3 { margin-top:0; }
.shop-final-row { display:grid; grid-template-columns:1.2fr 1fr 160px 1.4fr; gap:10px; align-items:center; margin-bottom:10px; }
.shop-commission-hint { color:#64768a; font-size:13px; }
.shop-form-actions, .shop-title-row, .shop-product-head { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.shop-columns { display:grid; grid-template-columns:1fr 300px; gap:24px; }
.shop-props { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; margin:18px 0 26px; padding:18px; background:#F8FAFF; border-radius:14px; }
.shop-rich-text { color:#26393e; line-height:1.65; }
.shop-topic { font-size:18px; }
.shop-author-box { display:flex; gap:14px; align-items:center; padding:16px; background:#F8FAFF; border-radius:14px; }
.shop-author-data { display:flex; flex-direction:column; gap:4px; color:#596a70; font-size:14px; }
.shop-author-data b { color:#01181a; font-size:16px; }
.shop-avatar { width:58px; height:58px; border-radius:50%; background:#eef2f7; overflow:hidden; flex:0 0 auto; }
.shop-avatar img { width:100%; height:100%; object-fit:cover; }
.shop-file-row { display:flex; align-items:center; gap:14px; padding:14px; border:1px solid #edf1f7; border-radius:12px; background:#fff; }
.shop-file-info { flex:1; display:flex; flex-direction:column; gap:5px; }
.shop-file-info span { color:#71818a; font-size:14px; }
.shop-file-icon { width:38px; height:44px; border-radius:8px; background:#edf2fb; position:relative; }
.shop-file-icon.img { background:#e8f2ff; }
.shop-file-icon.doc { background:#e7edff; }
.shop-file-icon.arch { background:#fff2d6; }
.shop-error-text { color:#c42525 !important; }
.shop-empty { text-align:center; color:#6c7d82; }
@media (max-width:900px) { .shop-filter, .shop-form-grid, .shop-columns, .shop-final-row { grid-template-columns:1fr; } .shop-hero, .shop-product-row, .shop-title-row, .shop-product-head { flex-direction:column; align-items:flex-start; } .shop-price-box { align-items:flex-start; } }
.shop-hero-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.shop-inline-form { display:inline-flex; margin:0; }
.shop-buy-all-card { background:#FBFCFF; }
.shop-stats-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin:20px 0; }
.shop-stat { padding:18px; border:1px solid #edf1f7; border-radius:12px; background:#FBFCFF; display:flex; flex-direction:column; gap:8px; }
.shop-stat span { color:#71818a; font-size:14px; }
.shop-stat b { color:#01181a; font-size:24px; }
@media (max-width:900px) { .shop-stats-grid { grid-template-columns:1fr; } .shop-hero-actions { width:100%; } }
.shop-question-card textarea, .shop-question-form textarea { width:100%; min-width:280px; border:1px solid #dfe5ee; border-radius:10px; padding:12px 13px; font:inherit; box-sizing:border-box; }
.shop-question-form { display:flex; flex-direction:column; gap:10px; min-width:min(440px, 100%); }
.shop-dialog-list { display:flex; flex-direction:column; gap:12px; }
.shop-dialog-row { display:flex; justify-content:space-between; gap:16px; padding:16px; border:1px solid #edf1f7; border-radius:12px; background:#fff; color:#01181a; text-decoration:none; }
.shop-dialog-row>div:first-child { display:flex; flex-direction:column; gap:5px; }
.shop-dialog-row span, .shop-dialog-meta small { color:#71818a; font-size:14px; }
.shop-dialog-meta { display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.shop-unread { display:inline-flex; align-items:center; justify-content:center; min-width:22px; height:22px; border-radius:999px; background:#729AFF; color:#fff !important; font-weight:700; }
.shop-messages { display:flex; flex-direction:column; gap:14px; }
.shop-message { max-width:78%; padding:14px; border-radius:14px; border:1px solid #edf1f7; background:#fff; }
.shop-message-me { margin-left:auto; background:#F4F7FF; border-color:#DCE6FF; }
.shop-message-other { margin-right:auto; background:#fff; }
.shop-message-head { display:flex; justify-content:space-between; gap:12px; color:#71818a; font-size:13px; margin-bottom:8px; }
.shop-message-text { color:#26393e; line-height:1.55; }
.shop-message-files { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.shop-reply-preview { padding:8px 10px; background:#FBFCFF; border-left:3px solid #729AFF; border-radius:8px; color:#596a70; font-size:14px; margin-bottom:8px; }
.shop-link-button { border:0; background:transparent; color:#3159BE; padding:8px 0 0; cursor:pointer; font:inherit; }
@media (max-width:900px) { .shop-message { max-width:100%; } .shop-dialog-row { flex-direction:column; } .shop-dialog-meta { align-items:flex-start; } }
.shop-message-text { white-space:pre-wrap; }
.shop-review-list { display:flex; flex-direction:column; gap:12px; margin-top:14px; }
.shop-review-row { display:flex; gap:14px; padding:14px; border:1px solid #edf1f7; border-radius:12px; background:#fff; }
.shop-review-body { flex:1; color:#26393e; line-height:1.55; }
.shop-review-body p { margin:8px 0 0; }
.shop-review-type { display:inline-flex; padding:4px 9px; border-radius:999px; font-size:13px; font-weight:700; }
.shop-review-positive { background:#edf8f3; color:#24825d; }
.shop-review-negative { background:#fff0f0; color:#c42525; }
.shop-stage4-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:14px; margin-top:14px; }
.shop-stage4-box { display:flex; flex-direction:column; gap:10px; padding:16px; border:1px solid #edf1f7; border-radius:12px; background:#FBFCFF; }
.shop-compact-form { gap:10px; }
.shop-arbitrage-admin-comment { padding:12px; background:#F4F7FF; border-left:3px solid #729AFF; border-radius:10px; color:#26393e; }
@media (max-width:900px) { .shop-review-row { flex-direction:column; } }
.shop-card, .shop-product-row, .shop-file-row, .shop-dialog-row, .shop-review-row, .shop-stage4-box { box-sizing:border-box; }
.shop-form input[type="text"], .shop-form input[type="number"], .shop-form input[type="file"], .shop-form textarea, .shop-form select { max-width:100%; }
.shop-current-files { display:flex; flex-direction:column; gap:10px; }
@media (max-width:640px) { .shop-card { padding:16px; } .shop-file-row { flex-wrap:wrap; align-items:flex-start; } .shop-primary, .shop-secondary { width:100%; justify-content:center; } .shop-inline-form, .shop-inline-form .shop-primary { width:100%; } }

.shop-file-picker{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;cursor:pointer;margin:8px 0}.shop-file-picker input{display:none}.shop-file-picker-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;background:#3159BE;color:#fff;font-weight:700}.shop-file-picker-note{color:#6b7a90;font-size:13px}.shop-picked-files{display:grid;gap:7px;margin:8px 0}.shop-picked-file{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#f7f9fc;border-radius:10px;color:#263238}.shop-file-icon{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;border-radius:8px;background:#e9eef7;color:#3159BE;font-size:11px;font-weight:800;letter-spacing:.3px;margin-right:8px;vertical-align:middle}.shop-file-icon-doc{background:#eaf1ff;color:#3159BE}.shop-file-icon-xls{background:#e9f8ef;color:#1f8f51}.shop-file-icon-ppt{background:#fff0e8;color:#c45a20}.shop-file-icon-pdf{background:#ffecec;color:#d93030}.shop-file-icon-txt{background:#f1f3f5;color:#52616b}.shop-file-icon-csv{background:#edf8f7;color:#16877e}.shop-file-icon-zip{background:#fff7df;color:#a56a00}.shop-file-icon-image{background:#f0ecff;color:#7052d8}.shop-file-icon-code{background:#eefaf4;color:#16764d}.shop-file-icon-unknown{background:#eef2f6;color:#607080}.shop-card,.shop-filter,.shop-upload-block{box-shadow:0 10px 24px rgba(31,47,70,.06)}.shop-product-row{transition:transform .15s ease,box-shadow .15s ease}.shop-product-row:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(31,47,70,.10)}.shop-form label span{font-weight:700}.shop-editor-label{font-weight:700;color:#314247;margin-bottom:8px}.shop-empty{padding:24px;text-align:center;color:#6b7a90}@media(max-width:760px){.shop-file-picker{width:100%}.shop-file-picker-btn{width:100%}.shop-picked-file{align-items:flex-start}.shop-file-icon{flex:0 0 auto}}
.shop-field-title{display:block;font-weight:700;margin:10px 0 4px;color:#263238}.shop-message-files .shop-secondary,.shop-file-row{align-items:center}.shop-form input,.shop-form textarea,.shop-form select,.shop-filter input,.shop-filter select{border-radius:10px}.shop-primary,.shop-secondary{border-radius:10px;transition:background .15s ease,transform .15s ease}.shop-primary:hover,.shop-secondary:hover{transform:translateY(-1px)}
.shop-collapse{position:relative;margin-bottom:18px}.shop-collapse-content{max-height:6.8em;overflow:hidden;transition:max-height .2s ease}.shop-collapse-open .shop-collapse-content{max-height:none}.shop-collapse-fade{position:absolute;left:0;right:0;bottom:34px;height:48px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff);pointer-events:none}.shop-collapse-open .shop-collapse-fade,.shop-collapse-short .shop-collapse-fade{display:none}.shop-collapse-toggle{margin-top:8px}.shop-stars-view{display:inline-flex;gap:2px;margin-left:8px;color:#c9d2df;font-size:18px;vertical-align:middle}.shop-stars-view .active{color:#ffbf3f}.shop-rating-picker{display:inline-flex;gap:4px;align-items:center}.shop-rating-picker button{border:0;background:transparent;color:#c9d2df;font-size:28px;line-height:1;cursor:pointer;padding:0 2px;transition:color .15s,transform .15s}.shop-rating-picker button.active,.shop-rating-picker button:hover{color:#ffbf3f}.shop-rating-picker button:hover{transform:translateY(-1px)}.shop-file-picker-btn{background:#EAF1FF;color:#3159BE;border:1px solid #C7D7FF}.shop-file-picker:hover .shop-file-picker-btn{background:#DCE8FF}.shop-file-picker:active .shop-file-picker-btn{background:#CFE0FF}@media(max-width:640px){.shop-collapse-content{max-height:6.2em}.shop-rating-picker button{font-size:32px;padding:2px}.shop-stars-view{font-size:20px}}
.shop-advanced-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:end}.shop-advanced-grid label{display:flex;flex-direction:column;gap:6px;color:#263238;font-size:14px}.shop-advanced-grid label span{font-weight:700}.shop-checkbox-filter{justify-content:center;min-height:48px;flex-direction:row!important;align-items:center;gap:8px;padding:10px 12px;background:#fff;border:1px solid #dfe5ee;border-radius:10px}.shop-checkbox-filter input{width:auto!important;margin:0}.shop-advanced-note{margin:0;color:#6b7a90;font-size:14px}@media(max-width:640px){.shop-advanced-grid{grid-template-columns:1fr}.shop-checkbox-filter{justify-content:flex-start}}
.shop-file-manager h3{display:flex;align-items:center;gap:8px}.shop-info{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#EAF1FF;color:#3159BE;font-size:13px;font-weight:800;cursor:help;position:relative}.shop-info:focus{outline:2px solid #C7D7FF}.shop-info:hover:after,.shop-info:focus:after{content:attr(data-tip);position:absolute;left:50%;top:28px;transform:translateX(-50%);z-index:20;width:min(320px,80vw);padding:10px 12px;border-radius:10px;background:#26393e;color:#fff;font-size:13px;font-weight:500;line-height:1.35;box-shadow:0 10px 24px rgba(31,47,70,.18)}.shop-file-list,.shop-final-list{display:flex;flex-direction:column;gap:10px;margin:10px 0}.shop-managed-file{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #e6edf5;border-radius:12px;background:#fff}.shop-managed-file.shop-dragging{opacity:.55}.shop-drag-handle,.shop-file-remove{border:0;background:#eef4ff;color:#3159BE;border-radius:8px;min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:800}.shop-drag-handle{cursor:grab}.shop-file-remove{background:#fff0f0;color:#c42525;font-size:20px;line-height:1}.shop-picked-file-name{flex:1}.shop-final-row{display:grid;grid-template-columns:auto auto minmax(120px,1fr) 1.2fr minmax(110px,.5fr) auto auto;align-items:center}.shop-final-row .shop-file-picker{margin:0}.shop-final-row .shop-picked-files{margin:0}@media(max-width:760px){.shop-managed-file{align-items:flex-start;flex-wrap:wrap}.shop-final-row{display:flex}.shop-final-row input[type=text],.shop-final-row input[type=number],.shop-final-row .shop-file-picker,.shop-final-row .shop-picked-files{width:100%}.shop-info:hover:after,.shop-info:focus:after{left:0;transform:none}}
.shop-found-count{margin:0 0 14px;color:#53666d;font-weight:700}.shop-modal{position:fixed;inset:0;z-index:9999;background:rgba(9,24,32,.42);display:none;align-items:center;justify-content:center;padding:18px}.shop-modal-box{width:min(420px,100%);background:#fff;border-radius:16px;padding:22px;box-shadow:0 18px 46px rgba(0,0,0,.22)}.shop-modal-product{padding:12px;margin:12px 0;background:#f6f9ff;border-radius:12px;color:#26393e;font-weight:700}.shop-modal-actions{display:flex;gap:10px;justify-content:flex-end}.shop-nowrap{white-space:nowrap;flex:0 0 auto}.shop-author-link{color:#26393e;text-decoration:none}.shop-author-link:hover{text-decoration:underline}.shop-dialog-top{display:flex;gap:16px;justify-content:space-between;align-items:flex-start}.shop-dialog-titlebox{min-width:0}.shop-dialog-titlebox h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-dialog-author-card{display:flex;gap:10px;align-items:flex-start;min-width:260px;padding:10px;border:1px solid #edf1f7;border-radius:12px;background:#fbfcff}.shop-dialog-author-card>div{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#596a70}.shop-editor-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.shop-editor-toolbar button{border:1px solid #c7d7ff;background:#eaf1ff;color:#3159BE;border-radius:8px;padding:6px 9px;cursor:pointer;font-weight:700}.shop-rich-text a{color:#3159BE;text-decoration:underline}.shop-admin-products{display:grid;gap:10px}.shop-admin-card{padding:12px;border:1px solid #e6edf5;border-radius:12px;background:#fff}.shop-admin-card h3{margin:0 0 6px}@media(max-width:760px){.shop-dialog-top{flex-direction:column}.shop-dialog-author-card{min-width:0;width:100%;box-sizing:border-box}.shop-modal-actions{flex-direction:column}.shop-modal-actions .shop-primary,.shop-modal-actions .shop-secondary{width:100%}}
.shop-dialog-titlebox h1{font-size:24px;line-height:1.28;margin:8px 0 6px;max-width:680px}.shop-dialog-titlebox h1 a{color:inherit;text-decoration:none}.shop-dialog-titlebox h1 a:hover{text-decoration:underline}.shop-rich-editor{min-height:150px;border:1px solid #dfe5ee;border-radius:12px;background:#fff;padding:12px 14px;line-height:1.55;outline:none}.shop-rich-editor:focus{border-color:#8fb1ff;box-shadow:0 0 0 3px rgba(49,89,190,.12)}.shop-rich-editor ul,.shop-rich-editor ol{padding-left:22px;margin:8px 0}.shop-rich-editor:empty:before{content:'Введите текст';color:#9aa8b2}.shop-admin-filter-card{margin-bottom:18px;padding:14px;border:1px solid #e6edf5;border-radius:12px;background:#fbfcff}.shop-admin-load-more{margin-top:12px;text-align:center}@media(max-width:760px){.shop-dialog-titlebox h1{font-size:20px;line-height:1.3}.shop-rich-editor{min-height:130px}}
.shop-rich-editor{white-space:pre-wrap;caret-color:#26393e;color:#26393e}.shop-form .shop-rich-editor *,.shop-form .shop-rich-editor b,.shop-form .shop-rich-editor strong,.shop-form .shop-rich-editor em,.shop-form .shop-rich-editor i{color:inherit!important;background:transparent!important;text-decoration:none!important}.shop-rich-editor strong,.shop-rich-editor b{font-weight:700}.shop-rich-editor em,.shop-rich-editor i{font-style:italic}
.shop-custom-number-filter{display:flex;flex-direction:column;gap:6px;color:#263238;font-size:14px}.shop-custom-number-filter>span{font-weight:700}.shop-custom-number-filter>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shop-custom-number-filter input{width:100%;box-sizing:border-box}@media(max-width:640px){.shop-custom-number-filter>div{grid-template-columns:1fr}}
.shop-message-ticks { margin-left:6px; color:#8a98a3; font-style:normal; font-weight:700; letter-spacing:-1px; white-space:nowrap; }
.shop-message-me .shop-message-ticks { color:#5f7dd6; }
