.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; }
.shop-menu-link{display:inline-flex!important;align-items:center;gap:5px;white-space:nowrap}.shop-new-badge{display:inline-flex;align-items:center;justify-content:center;padding:1px 4px;border:1px solid #2398ff;border-radius:4px;background:#eef7ff;color:#0879d7;font-size:9px;line-height:1.2;font-weight:800;letter-spacing:.2px;vertical-align:middle}.shop-author-intro-modal{z-index:10020}.shop-author-intro-box{position:relative;width:min(620px,100%);max-height:86vh;overflow:auto}.shop-modal-close{position:absolute;right:12px;top:10px;border:0;background:#eef2f6;color:#263238;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:20px;line-height:1}.shop-file-title-input{min-width:180px;flex:1;padding:8px 10px;border:1px solid #dfe5ee;border-radius:10px}.shop-purchase-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:8px}.shop-purchase-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}.shop-warranty-timer{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#3159BE;font-weight:800}.shop-warranty-timer i{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#EAF1FF;color:#3159BE;font-style:normal;font-size:12px;cursor:help}.shop-warranty-timer.is-expired{color:#71818a}.shop-message-admin{align-self:center!important;margin-left:auto!important;margin-right:auto!important;max-width:76%;background:#fff7e8!important;border:1px solid #ffe3b4}.shop-message-admin .shop-message-head b{color:#d93030}.shop-arbitrage-public-messages{max-height:62vh;overflow-y:auto;padding-right:6px}.shop-arbitrage-actions{display:flex;gap:10px;flex-wrap:wrap}.shop-arbitrage-actions .shop-primary,.shop-arbitrage-actions .shop-secondary{width:auto}@media(max-width:640px){.shop-purchase-head{flex-direction:column}.shop-warranty-timer{white-space:normal}.shop-message-admin{max-width:96%}.shop-arbitrage-public-messages{max-height:58vh}.shop-author-intro-box{padding:18px}.shop-menu-link{gap:4px}}

/* Stage 10 polish */
.shop-subject-field{display:flex;flex-direction:column;gap:8px}.shop-subject-search{width:100%;box-sizing:border-box}.shop-final-row{grid-template-columns:34px minmax(130px,.8fr) minmax(0,1fr) minmax(190px,1.2fr) minmax(120px,.45fr) minmax(160px,.75fr) 34px!important;gap:10px;min-width:0}.shop-final-row>*{min-width:0}.shop-final-row .shop-picked-files{overflow:hidden}.shop-final-row .shop-picked-file-name,.shop-final-row .shop-file-picker-btn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-final-row input[type=text],.shop-final-row input[type=number]{width:100%;box-sizing:border-box}.shop-commission-hint{overflow:hidden;text-overflow:ellipsis;white-space:normal}.shop-warranty-timer i[data-tip]{position:relative}.shop-warranty-timer i[data-tip]:hover:after,.shop-warranty-timer i[data-tip]:focus:after,.shop-warranty-timer i[data-tip].is-open:after{content:attr(data-tip);position:absolute;right:0;top:24px;z-index:50;width:min(340px,82vw);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);white-space:normal}.shop-public-arbitrage-chat{height:min(760px,calc(100vh - 120px));min-height:560px;display:flex;flex-direction:column;padding:0;overflow:hidden}.shop-public-arbitrage-head{flex:0 0 auto;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:20px 22px;border-bottom:1px solid #edf1f7;background:#fff}.shop-public-arbitrage-title{min-width:0}.shop-public-arbitrage-title h1{font-size:24px;line-height:1.3;margin:6px 0}.shop-public-arbitrage-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:16px 22px;background:#fbfcff}.shop-public-arbitrage-body h2{flex:0 0 auto;margin:0 0 12px}.shop-arbitrage-public-messages{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;padding:4px 8px 12px 0;scrollbar-gutter:stable}.shop-public-arbitrage-reply{flex:0 0 auto;padding:14px 22px;border-top:1px solid #edf1f7;background:#fff}.shop-public-arbitrage-reply .shop-question-form{min-width:0;width:100%;gap:8px}.shop-public-arbitrage-reply textarea{min-height:76px;max-height:160px;resize:vertical}.shop-message-admin{align-self:center!important;text-align:left}.shop-message-admin .shop-message-head{justify-content:center}.shop-message-admin .shop-message-head b{color:#d93030!important}.shop-admin-moderation-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;align-items:start}.shop-admin-moderation-list{display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 150px);overflow:auto;padding-right:4px}.shop-admin-moderation-card{border:1px solid #e6edf5;border-radius:12px;background:#fff;padding:12px;text-align:left;cursor:pointer}.shop-admin-moderation-card.is-active{border-color:#729AFF;background:#f4f7ff}.shop-admin-moderation-card h3{margin:0 0 6px;font-size:16px;line-height:1.35}.shop-admin-moderation-card p{margin:4px 0;color:#596a70;font-size:13px}.shop-admin-moderation-detail{min-width:0}.shop-admin-moderation-detail-card{display:none;background:#fff;border:1px solid #e6edf5;border-radius:14px;padding:18px}.shop-admin-moderation-detail-card.is-active{display:block}.shop-admin-moderation-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.shop-admin-moderation-actions input[type=text]{min-width:min(340px,100%);padding:10px;border:1px solid #ddd;border-radius:10px}.shop-admin-btn-danger{padding:10px 16px;border:0;border-radius:10px;background:#d94f4f;color:#fff;cursor:pointer}.shop-admin-btn-success{padding:10px 16px;border:0;border-radius:10px;background:#31c48d;color:#fff;cursor:pointer}@media(max-width:900px){.shop-final-row{display:flex!important;flex-wrap:wrap}.shop-final-row .shop-file-picker,.shop-final-row .shop-picked-files,.shop-final-row input[type=text],.shop-final-row input[type=number],.shop-final-row .shop-commission-hint{flex:1 1 100%}.shop-public-arbitrage-chat{height:calc(100vh - 90px);min-height:520px}.shop-public-arbitrage-head{flex-direction:column;padding:16px}.shop-public-arbitrage-body{padding:12px 14px}.shop-public-arbitrage-reply{padding:12px 14px}.shop-arbitrage-actions{flex-direction:column}.shop-arbitrage-actions .shop-primary,.shop-arbitrage-actions .shop-secondary{width:100%}.shop-admin-moderation-layout{grid-template-columns:1fr}.shop-admin-moderation-list{max-height:260px}.shop-message{max-width:94%}.shop-message-admin{max-width:96%}}

.shop-searchable-select{position:relative;display:block;min-width:0}.shop-searchable-select input[type=search]{width:100%}.shop-searchable-list{display:none;position:absolute;z-index:40;top:calc(100% + 6px);left:0;right:0;max-height:260px;overflow:auto;background:#fff;border:1px solid #dfe5ee;border-radius:12px;box-shadow:0 14px 34px rgba(31,47,70,.14);padding:6px}.shop-searchable-select.is-open .shop-searchable-list{display:grid;gap:4px}.shop-searchable-list button{border:0;background:#fff;text-align:left;padding:9px 10px;border-radius:8px;cursor:pointer;color:#26393e}.shop-searchable-list button:hover{background:#f4f7ff;color:#3159BE}.shop-dialog-card{height:min(720px,calc(100vh - 150px));min-height:520px;display:flex;flex-direction:column;overflow:hidden}.shop-dialog-card .shop-messages{flex:1 1 auto;min-height:0;overflow-y:auto;padding:4px 8px 12px 0;scrollbar-gutter:stable}.shop-dialog-reply-card{position:sticky;bottom:0;z-index:5;margin-top:-1px}.shop-dialog-reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.shop-dialog-reply-form textarea,.shop-dialog-reply-form .shop-reply-preview,.shop-dialog-reply-form .shop-field-title{grid-column:1/-1}.shop-dialog-reply-form .shop-file-picker{margin:0}.shop-dialog-reply-form .shop-form-actions{grid-column:2;display:flex;gap:8px}.shop-final-row .shop-file-info{overflow:hidden}.shop-final-row .shop-file-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word}.shop-commission-hint{font-size:12px;color:#6b7a90;line-height:1.25}@media(max-width:760px){.shop-filter{grid-template-columns:1fr!important}.shop-dialog-card{height:calc(100vh - 120px);min-height:460px}.shop-dialog-reply-form{grid-template-columns:1fr}.shop-dialog-reply-form .shop-form-actions{grid-column:1;justify-content:stretch}.shop-dialog-reply-form .shop-primary,.shop-dialog-reply-form .shop-secondary{width:100%}}
/* Stage 11 addendum: admin edit, files, chat and searchable selects */
.shop-title-counter{display:block;margin-top:-6px;margin-bottom:10px;color:#6c7d82;font-size:12px}.shop-admin-title-wide{display:block;max-width:100%;margin:10px 0}.shop-admin-title-wide input{width:100%;min-width:min(760px,100%);font-size:16px;white-space:nowrap}.shop-admin-wide-field{display:block;margin:10px 0}.shop-admin-wide-field textarea{width:100%;min-height:150px;resize:vertical}.shop-admin-edit-product .shop-admin-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.shop-admin-edit-product textarea{max-width:none}.shop-admin-row input[placeholder="Название файла"]{min-width:260px}.shop-admin-row input[placeholder="Цена, ₽"]{max-width:140px}.shop-picked-file{display:flex;align-items:center;gap:8px;min-width:0;background:#f7f9ff;border:1px solid #e4ebff;border-radius:10px;padding:8px}.shop-picked-file span:not(.shop-file-icon){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-picked-file .shop-file-remove{margin-left:auto}.shop-dialog-card{height:min(78vh,780px);min-height:560px;display:flex;flex-direction:column;overflow:hidden}.shop-dialog-card .shop-messages{flex:1 1 auto;overflow-y:auto;min-height:0}.shop-dialog-reply-card{position:sticky;bottom:8px;z-index:5;margin-top:10px}.shop-arbitrage-page{min-height:calc(100vh - 84px);display:flex;flex-direction:column}.shop-public-arbitrage-chat{height:calc(100vh - 210px);min-height:620px;display:flex;flex-direction:column}.shop-public-arbitrage-chat .shop-arb-messages,.shop-public-arbitrage-chat .shop-messages{flex:1 1 auto;overflow-y:auto;min-height:0}.shop-public-arbitrage-chat .shop-arb-reply,.shop-public-arbitrage-chat form{flex:0 0 auto;position:sticky;bottom:8px;background:#fff}.shop-searchable-select{position:relative}.shop-searchable-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;font-size:20px;color:#64748b;cursor:pointer}.shop-searchable-select input[type=search]{padding-right:36px}.shop-searchable-list{max-height:360px;overflow:auto;border:1px solid #d9e1ea;border-radius:12px;box-shadow:0 16px 42px rgba(15,23,42,.12);background:#fff}.shop-searchable-list button{text-align:left;border-bottom:1px solid #eef2f7;padding:11px 14px}.shop-searchable-list button:hover{background:#f4f7ff}.shop-admin-products{min-height:420px}.shop-toast{display:flex;align-items:center;gap:12px}.shop-toast-close{border:0;background:transparent;font-size:18px;cursor:pointer;color:inherit}@media(max-width:720px){.shop-dialog-card{height:calc(100dvh - 170px);min-height:430px}.shop-public-arbitrage-chat{height:calc(100dvh - 150px);min-height:480px}.shop-admin-title-wide input{min-width:0}.shop-admin-wide-field textarea{min-height:130px}.shop-admin-row input[placeholder="Название файла"]{min-width:0;width:100%}}
/* Срочный фикс Stage 11: мессенджер для публичного арбитража и диалога товара */
body.shop-chat-body{min-height:100dvh;overflow:hidden}.shop-chat-cont{min-height:calc(100dvh - 64px);height:calc(100dvh - 64px);display:flex;flex-direction:column;overflow:hidden}.shop-chat-wrap{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;width:min(1180px,100%);margin:0 auto}.shop-page-chat{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:0;width:100%;overflow:hidden}.shop-page-chat .shop-card{box-shadow:none;border-radius:0;margin:0}.shop-chat-header{flex:0 0 auto;border-bottom:1px solid #edf1f7;padding:18px 22px;background:#fff}.shop-chat-messages{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:18px 22px;background:#fbfcff;border-left:1px solid #edf1f7;border-right:1px solid #edf1f7}.shop-chat-messages>.shop-messages,.shop-arbitrage-public-messages{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto;padding:4px 10px 14px 0;scrollbar-gutter:stable}.shop-chat-composer{flex:0 0 auto;position:sticky;bottom:0;z-index:10;padding:12px 22px 14px!important;background:#fff!important;border:1px solid #edf1f7;border-bottom:0}.shop-chat-composer-row{display:flex;align-items:flex-end;gap:10px;width:100%}.shop-chat-composer-row textarea{flex:1 1 auto;min-height:48px!important;max-height:120px!important;resize:vertical;margin:0}.shop-chat-file-button{flex:0 0 auto;margin:0!important}.shop-chat-file-button .shop-file-picker-btn{min-width:46px;height:46px;padding:0 13px;font-size:20px}.shop-chat-file-button .shop-file-picker-note{display:none}.shop-chat-composer-row .shop-primary,.shop-chat-composer-row .shop-secondary{flex:0 0 auto;height:46px;white-space:nowrap}.shop-chat-composer .shop-picked-files{margin:8px 0 0}.shop-chat-back{display:inline-flex;margin-top:8px}.shop-public-arbitrage-chat{height:auto!important;min-height:0!important;padding:0!important}.shop-public-arbitrage-body h2{flex:0 0 auto;margin:0 0 12px}.shop-dialog-card{height:auto!important;min-height:0!important}.shop-dialog-reply-card{margin-top:0!important}.shop-dialog-reply-form{display:block}.shop-dialog-reply-form .shop-reply-preview{margin-bottom:8px}@media(max-width:760px){body.shop-chat-body{overflow:hidden}.shop-chat-cont{height:calc(100dvh - 56px);min-height:calc(100dvh - 56px)}.shop-chat-header{padding:12px 14px}.shop-chat-messages{padding:12px 14px}.shop-chat-composer{padding:10px 12px!important}.shop-chat-composer-row{gap:8px;align-items:stretch}.shop-chat-composer-row textarea{min-height:46px!important}.shop-chat-file-button .shop-file-picker-btn{width:44px;min-width:44px}.shop-chat-composer-row .shop-primary,.shop-chat-composer-row .shop-secondary{height:44px;padding:0 12px}.shop-dialog-top{gap:10px}.shop-dialog-titlebox h1,.shop-public-arbitrage-title h1{font-size:18px}.shop-dialog-author-card{display:none}}
/* Stage 11 UI bugfix: compact chat attachment button and picker-like dropdowns */
.shop-chat-file-button{width:46px!important;height:46px!important;min-width:46px!important;flex:0 0 46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;border:0!important;padding:0!important;cursor:pointer}.shop-chat-file-button input[type=file]{display:none!important}.shop-chat-file-button .shop-file-picker-btn{width:46px!important;min-width:46px!important;height:46px!important;padding:0!important;border-radius:12px!important;border:1px solid #c7d7ff!important;background:#eaf1ff!important;color:#3159BE!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;line-height:1!important}.shop-chat-file-button .shop-file-picker-btn:before{content:'📎';font-size:22px;line-height:1}.shop-chat-file-button:hover .shop-file-picker-btn{background:#dce8ff!important}.shop-chat-file-button .shop-file-picker-note{display:none!important}.shop-chat-composer-row{align-items:flex-end}.shop-chat-composer-row textarea{min-width:0}.shop-searchable-select{position:relative}.shop-searchable-select input[type=search]{height:44px;border:1px solid #bfc8d4!important;background:#fff}.shop-searchable-select.is-open{z-index:120}.shop-searchable-list{top:calc(100% + 6px)!important;max-height:390px!important;padding:12px!important;background:#f8fafc!important;border:1px solid #bfc8d4!important;border-radius:8px!important;box-shadow:0 18px 42px rgba(15,23,42,.16)!important;gap:0!important}.shop-searchable-list:before{content:'Все варианты';display:block;font-weight:800;color:#111;margin:2px 4px 8px}.shop-searchable-list button{border-bottom:1px solid #ccd3dc!important;border-radius:0!important;color:#53666d!important;padding:9px 4px!important;background:transparent!important}.shop-searchable-list button:hover{background:#eef4ff!important;color:#3159BE!important}.shop-searchable-clear{right:10px!important;top:22px!important;font-size:30px!important;color:#111!important;line-height:1!important}.shop-admin-search-empty{padding:10px 4px;color:#71818a}@media(max-width:760px){.shop-chat-file-button,.shop-chat-file-button .shop-file-picker-btn{width:44px!important;min-width:44px!important;height:44px!important;flex-basis:44px!important}.shop-chat-composer-row{flex-wrap:nowrap!important;gap:8px}.shop-chat-composer-row .shop-primary{padding:0 12px!important}.shop-searchable-list{position:fixed!important;left:12px!important;right:12px!important;top:72px!important;max-height:70dvh!important}.shop-searchable-clear{top:22px!important}}
/* Stage 11 OG/schema UI follow-up: messenger paperclip and no horizontal select scroll */
.shop-chat-file-button{width:40px!important;height:46px!important;min-width:40px!important;flex:0 0 40px!important;background:transparent!important;border:0!important;border-radius:50%!important}.shop-chat-file-button .shop-file-picker-btn{width:40px!important;min-width:40px!important;height:40px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#3159BE!important;box-shadow:none!important}.shop-chat-file-button .shop-file-picker-btn:before{font-size:24px}.shop-chat-file-button:hover .shop-file-picker-btn,.shop-chat-file-button:focus-within .shop-file-picker-btn{background:#eef4ff!important}.shop-searchable-list{box-sizing:border-box!important;overflow-x:hidden!important;width:max(100%,min(560px,calc(100vw - 32px)))!important;max-width:calc(100vw - 32px)!important}.shop-searchable-list button{box-sizing:border-box!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:normal!important;word-break:break-word!important}.shop-searchable-select input[type=search]{min-width:0!important}@media(max-width:760px){.shop-chat-file-button{width:40px!important;min-width:40px!important;flex-basis:40px!important}.shop-chat-file-button .shop-file-picker-btn{width:40px!important;min-width:40px!important;height:40px!important}.shop-searchable-list{width:auto!important;max-width:none!important;overflow-x:hidden!important}}
/* Stage 11 mobile chat hotfix: keep composer usable on 360px screens */
@media(max-width:760px){
  .shop-chat-cont{height:calc(100dvh - 56px)!important;min-height:calc(100dvh - 56px)!important;overflow:hidden!important}
  .shop-chat-wrap,.shop-page-chat{min-height:0!important;overflow:hidden!important}
  .shop-chat-header{padding:8px 14px 10px!important}
  .shop-dialog-titlebox h1,.shop-public-arbitrage-title h1{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0!important;font-size:18px!important;line-height:1.22!important}
  .shop-dialog-titlebox p,.shop-public-arbitrage-title p{margin:3px 0!important;font-size:13px!important;line-height:1.3!important}
  .shop-public-arbitrage-head{padding:8px 14px!important;gap:8px!important}
  .shop-public-arbitrage-head .shop-secondary{align-self:flex-start!important;width:auto!important;padding:8px 12px!important;font-size:13px!important}
  .shop-public-arbitrage-body h2{display:none!important}
  .shop-chat-messages{padding:8px 12px!important;min-height:0!important;flex:1 1 auto!important}
  .shop-chat-messages>.shop-messages,.shop-arbitrage-public-messages{padding:2px 4px 8px 0!important;min-height:0!important;overflow-y:auto!important}
  .shop-chat-composer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}
  .shop-chat-composer-row{display:grid!important;grid-template-columns:minmax(0,1fr) 40px minmax(86px,104px)!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;overflow:hidden!important}
  .shop-chat-composer-row textarea{grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:44px!important;max-height:96px!important;box-sizing:border-box!important;resize:none!important;overflow:auto!important;white-space:pre-wrap!important;word-break:normal!important;line-height:1.35!important;padding:10px 12px!important}
  .shop-chat-file-button{grid-column:2!important;width:40px!important;min-width:40px!important;height:44px!important;flex:none!important;align-self:center!important;justify-self:center!important}
  .shop-chat-file-button .shop-file-picker-btn{width:40px!important;min-width:40px!important;height:40px!important}
  .shop-chat-composer-row .shop-primary,.shop-chat-composer-row .shop-secondary{grid-column:3!important;width:100%!important;min-width:0!important;height:44px!important;padding:0 8px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important;justify-content:center!important;align-self:center!important;box-sizing:border-box!important}
  .shop-chat-back{display:none!important}
  .shop-message{max-width:92%!important}
}
/* Stage 11 mobile visual fixes: files, tooltips, product actions and compact chat send */
.shop-file-row,.shop-message-files a,.shop-picked-file,.shop-managed-file{min-width:0;max-width:100%;overflow:hidden}.shop-file-info{min-width:0;overflow:hidden}.shop-file-info b,.shop-file-info span,.shop-picked-file-name,.shop-message-files a{overflow-wrap:anywhere;word-break:break-word}.shop-file-row .shop-secondary,.shop-file-row .shop-primary{flex:0 0 auto;max-width:100%;box-sizing:border-box}.shop-arbitrage-title-link{color:inherit;text-decoration:none}.shop-arbitrage-title-link:after{content:'↗';font-size:.75em;margin-left:6px;color:#3159BE}.shop-arbitrage-title-link:hover{text-decoration:underline}.shop-stage4-box .shop-secondary{box-sizing:border-box;max-width:100%;text-align:center}.shop-mobile-send-icon{display:none}@media(max-width:760px){body{overflow-x:hidden}.head .logo img{width:142px!important;max-width:142px!important;height:auto!important;object-fit:contain!important}.head>div>.menu .shop-new-badge{display:none!important}#mobile_menu_content_user .menu[href='/shop'] .shop-new-badge,#mobile_menu_content_guest .menu[href='/shop'] .shop-new-badge{display:inline-flex!important}.shop-title-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}.shop-title-row .shop-primary{width:100%!important;box-sizing:border-box!important}.shop-file-row{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important}.shop-file-row .shop-price,.shop-file-row .shop-secondary,.shop-file-row .shop-primary,.shop-file-row .shop-inline-form{grid-column:1/-1;width:100%!important}.shop-message-files .shop-secondary{display:flex!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}.shop-warranty-timer i[data-tip]:hover:after,.shop-warranty-timer i[data-tip]:focus:after,.shop-warranty-timer i[data-tip].is-open:after,.shop-info:hover:after,.shop-info:focus:after{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(74px + env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:none!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;z-index:10030!important}.shop-file-manager h3{align-items:center!important;flex-wrap:wrap!important}.shop-info{flex:0 0 auto!important}.shop-managed-file{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important}.shop-managed-file .shop-file-info,.shop-managed-file input[type=text],.shop-managed-file .shop-file-picker,.shop-managed-file .shop-picked-files{grid-column:1/-1!important;width:100%!important;box-sizing:border-box!important}.shop-final-row input[type=number],.shop-final-row .shop-commission-hint{grid-column:1/2!important;width:100%!important;min-width:0!important}.shop-final-row .shop-file-remove{grid-column:2/3!important;justify-self:start!important;width:auto!important;min-width:40px!important}.shop-file-remove{font-size:18px!important}.shop-chat-composer-row{grid-template-columns:minmax(0,1fr) 40px 44px!important}.shop-chat-composer-row .shop-primary,.shop-chat-composer-row .shop-secondary{font-size:0!important;padding:0!important;border-radius:14px!important}.shop-chat-composer-row .shop-primary:before,.shop-chat-composer-row .shop-secondary:before{content:'➤';font-size:22px;line-height:1;transform:rotate(-35deg);display:inline-block}.shop-chat-composer-row textarea{font-size:14px!important}.shop-stage4-box .shop-secondary,.shop-stage4-box .shop-primary{width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;min-height:44px!important}.shop-question-card .shop-file-picker-btn{width:100%!important}.shop-question-form textarea{min-width:0!important}.shop-public-arbitrage-head .shop-secondary.shop-nowrap{display:none!important}}
@media(max-width:760px){.shop-chat-composer-row .shop-secondary:before{content:''!important;display:none!important}.shop-chat-composer-row .shop-primary:before{content:'➤'!important;font-size:22px!important;line-height:1!important;transform:rotate(-35deg)!important;display:inline-block!important}.shop-chat-file-button .shop-file-picker-btn:before{content:'📎'!important;font-size:21px!important;line-height:1!important}}

/* Stage 11 global mobile QA fixes: adaptive header, product text, selects and growing chat composer */
@media(max-width:760px){
  .shop-product-view,.shop-product-view *,.shop-card,.shop-card *{box-sizing:border-box;max-width:100%}
  .shop-product-view,.shop-columns,.shop-main-col,.shop-side-col{min-width:0!important;overflow:hidden!important}
  .shop-props{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;min-width:0!important;overflow:hidden!important}
  .shop-props>div{min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important}
  .shop-rich-text,.shop-rich-text *,.shop-collapse-content,.shop-collapse-content *{max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important}
  .shop-rich-text pre,.shop-rich-text table,.shop-rich-text code{max-width:100%!important;white-space:pre-wrap!important;overflow-x:auto!important}
  .shop-searchable-select.is-open{z-index:10060!important}
  .shop-searchable-list{position:fixed!important;left:10px!important;right:10px!important;top:10px!important;width:auto!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding-top:62px!important}
  .shop-searchable-list:before{position:fixed!important;left:22px!important;right:56px!important;top:22px!important;margin:0!important;background:#f8fafc!important;z-index:1!important}
  .shop-searchable-select input[type=search]{position:relative!important;z-index:10061!important}
  .shop-searchable-clear{z-index:10062!important}
  .shop-final-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;align-items:center!important}
  .shop-final-row .shop-file-picker,.shop-final-row .shop-picked-files,.shop-final-row input[type=text]{grid-column:1/-1!important;width:100%!important;min-width:0!important}
  .shop-final-row input[type=number],.shop-final-row .shop-commission-hint{grid-column:1!important;width:100%!important;min-width:0!important}
  .shop-final-row .shop-file-remove{grid-column:2!important;grid-row:auto!important;justify-self:end!important;align-self:center!important;width:40px!important;min-width:40px!important;height:40px!important}
  .shop-chat-composer-row{display:grid!important;grid-template-columns:minmax(0,1fr) 40px 44px!important;align-items:end!important;gap:8px!important;overflow:visible!important}
  .shop-chat-composer-row textarea{height:auto!important;min-height:44px!important;max-height:124px!important;overflow-y:auto!important;resize:none!important;align-self:end!important}
  .shop-chat-composer-row .shop-primary{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;border-radius:14px!important}
  .shop-chat-file-button,.shop-chat-file-button .shop-file-picker-btn{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important}
}

@media(max-width:760px){
  .shop-searchable-select.is-open{position:fixed!important;left:10px!important;right:10px!important;top:10px!important;z-index:10070!important;background:#f8fafc!important;border:1px solid #bfc8d4!important;border-radius:10px!important;box-shadow:0 18px 42px rgba(15,23,42,.18)!important;padding:12px!important;box-sizing:border-box!important;max-height:calc(100dvh - 20px)!important;overflow:hidden!important}
  .shop-searchable-select.is-open input[type=search]{display:block!important;position:relative!important;width:100%!important;z-index:1!important;margin:0!important;background:#fff!important}
  .shop-searchable-select.is-open .shop-searchable-list{position:static!important;display:grid!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 104px)!important;margin-top:8px!important;padding:8px!important;overflow-y:auto!important;overflow-x:hidden!important;box-shadow:none!important;border:0!important;background:#f8fafc!important;box-sizing:border-box!important}
  .shop-searchable-select.is-open .shop-searchable-list:before{position:static!important;display:block!important;margin:0 4px 8px!important;background:transparent!important}
  .shop-searchable-select.is-open .shop-searchable-clear{position:absolute!important;right:18px!important;top:22px!important;z-index:2!important}
}

@media(max-width:760px){
  .head> * >.logo{width:auto!important;min-width:150px!important;max-width:170px!important;flex:0 0 auto!important;overflow:visible!important;padding-left:14px!important;margin-right:auto!important;box-sizing:border-box!important}
  .head> * >.logo>img{width:146px!important;max-width:146px!important;height:auto!important;max-height:46px!important;object-fit:contain!important;display:block!important}
  .head> * >.menu>a,.head> * >.menu>.shop-menu-link{display:none!important}
  .head> * >.menu .shop-new-badge{display:none!important}
}

/* Stage 11 mobile final layout fixes */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  .head{overflow:visible!important}
  .head> *{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;flex-wrap:nowrap!important;justify-content:flex-start!important}
  .head> * >.logo{min-width:0!important;width:auto!important;max-width:calc(100vw - 132px)!important;flex:1 1 auto!important;margin-right:8px!important;padding-left:0!important}
  .head> * >.logo>img{width:146px!important;max-width:100%!important;height:auto!important;max-height:44px!important;object-fit:contain!important;object-position:left center!important}
  .head> * >.access{width:88px!important;min-width:88px!important;flex:0 0 88px!important;margin-left:auto!important;display:flex!important;justify-content:flex-end!important;align-items:center!important}
  .head> * >.access>.notify{position:fixed!important;top:20px!important;right:62px!important;margin:0!important;z-index:1002!important}
  #user_menu_icon{position:fixed!important;display:block!important;top:12px!important;right:12px!important;width:42px!important;height:42px!important;max-width:42px!important;z-index:1003!important;object-fit:contain!important;padding:4px!important;box-sizing:border-box!important}
  .shop-chat-composer-row textarea{max-height:48dvh!important}
  .shop-chat-composer{max-height:58dvh!important;overflow:visible!important}
  .shop-chat-messages{min-height:0!important}
  .shop-final-row input[type=number]{grid-column:1!important;grid-row:5!important;width:100%!important;min-width:0!important}
  .shop-final-row .shop-file-remove{grid-column:2!important;grid-row:5!important;align-self:center!important;justify-self:end!important;margin:0!important}
  .shop-final-row .shop-commission-hint{grid-column:1/-1!important;grid-row:6!important;width:100%!important}
  .shop-file-row>.shop-file-info:first-child{grid-column:1/-1!important;width:100%!important;min-width:0!important}
  .shop-files .shop-file-row{grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important}
  .shop-files .shop-file-row .shop-secondary{grid-column:1!important;width:100%!important;min-width:0!important}
  .shop-file-info,.shop-file-info b,.shop-file-info span,.shop-product-row,.shop-product-row h2,.shop-product-row p,.shop-product-row .shop-meta{word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;min-width:0!important}
  .shop-file-info span{display:block!important}
}

/* Stage 11 chat textarea 10-line behavior and mobile final-file sort handle */
.shop-chat-composer-row textarea{scrollbar-width:thin;scrollbar-color:#b8c2cc transparent}
.shop-chat-composer-row textarea::-webkit-scrollbar{width:6px}.shop-chat-composer-row textarea::-webkit-scrollbar-thumb{background:#b8c2cc;border-radius:999px}.shop-chat-composer-row textarea::-webkit-scrollbar-track{background:transparent}
@media(max-width:760px){
  .shop-chat-composer-row textarea{max-height:none!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
  .shop-chat-composer-row textarea::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
  .shop-final-row .shop-drag-handle{display:none!important}
  .shop-final-row{grid-template-columns:minmax(0,1fr) 44px!important}
}

/* Stage 11 reliable chat composer rewrite: textarea shows up to 10 lines */
.shop-chat-composer-row{display:grid!important;grid-template-columns:minmax(0,1fr) 42px 48px!important;align-items:end!important;gap:8px!important;width:100%!important;min-width:0!important;overflow:visible!important}
.shop-chat-textarea{grid-column:1!important;width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;max-height:none!important;box-sizing:border-box!important;resize:none!important;line-height:20px!important;padding:10px 12px!important;white-space:pre-wrap!important;word-break:normal!important;overflow-wrap:break-word!important;overflow-y:hidden!important}
.shop-chat-composer-row .shop-chat-file-button{grid-column:2!important;align-self:end!important;justify-self:center!important;margin:0!important;width:42px!important;min-width:42px!important;height:44px!important}
.shop-chat-composer-row .shop-primary{grid-column:3!important;align-self:end!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:44px!important;padding:0!important;border-radius:14px!important;font-size:0!important}
.shop-chat-composer-row .shop-primary:before{content:'➤'!important;font-size:22px!important;line-height:1!important;transform:rotate(-35deg)!important;display:inline-block!important}
@media(min-width:761px){.shop-chat-textarea{scrollbar-width:thin!important;scrollbar-color:#b8c2cc transparent!important}.shop-chat-textarea::-webkit-scrollbar{width:6px!important}.shop-chat-textarea::-webkit-scrollbar-thumb{background:#b8c2cc!important;border-radius:999px!important}.shop-chat-textarea::-webkit-scrollbar-track{background:transparent!important}}
@media(max-width:760px){.shop-chat-composer-row{grid-template-columns:minmax(0,1fr) 40px 44px!important}.shop-chat-textarea{line-height:20px!important;padding:10px 12px!important;scrollbar-width:none!important;-ms-overflow-style:none!important}.shop-chat-textarea::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.shop-chat-composer-row .shop-chat-file-button{width:40px!important;min-width:40px!important}.shop-chat-composer-row .shop-primary{width:44px!important;min-width:44px!important;max-width:44px!important}}

/* Stage 11 composer scrollbar/icon final fix */
.shop-chat-textarea.is-scrollable{overflow-y:scroll!important;scrollbar-width:thin!important;scrollbar-color:#9fb0c4 transparent!important}
.shop-chat-textarea.is-scrollable::-webkit-scrollbar{display:block!important;width:6px!important}.shop-chat-textarea.is-scrollable::-webkit-scrollbar-thumb{background:#9fb0c4!important;border-radius:999px!important}.shop-chat-textarea.is-scrollable::-webkit-scrollbar-track{background:transparent!important}
.shop-chat-file-button .shop-file-picker-btn:before{content:''!important;display:block!important;width:22px!important;height:22px!important;background-color:#4f6f9f!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05 12 20.49a6 6 0 0 1-8.49-8.49l9.44-9.44a4 4 0 0 1 5.66 5.66l-9.44 9.44a2 2 0 0 1-2.83-2.83l8.49-8.49'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05 12 20.49a6 6 0 0 1-8.49-8.49l9.44-9.44a4 4 0 0 1 5.66 5.66l-9.44 9.44a2 2 0 0 1-2.83-2.83l8.49-8.49'/%3E%3C/svg%3E") center/contain no-repeat}.shop-chat-file-button:hover .shop-file-picker-btn:before,.shop-chat-file-button:focus-within .shop-file-picker-btn:before{background-color:#3159BE!important}
@media(max-width:760px){.shop-chat-textarea.is-scrollable{overflow-y:auto!important;scrollbar-width:none!important}.shop-chat-textarea.is-scrollable::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}}

/* Stage 11 composer desktop scrollbar and compact send button */
.shop-chat-textarea.is-scrollable{overflow-y:scroll!important;scrollbar-gutter:stable!important;scrollbar-width:thin!important;scrollbar-color:#8d96a3 transparent!important}
.shop-chat-textarea.is-scrollable::-webkit-scrollbar{display:block!important;width:7px!important;background:transparent!important}.shop-chat-textarea.is-scrollable::-webkit-scrollbar-thumb{display:block!important;background:#8d96a3!important;border-radius:999px!important;border:2px solid transparent!important;background-clip:content-box!important}.shop-chat-textarea.is-scrollable::-webkit-scrollbar-track{display:block!important;background:transparent!important}
.shop-chat-composer-row .shop-primary{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;border-radius:13px!important;background:#5f86ff!important;box-shadow:none!important;align-self:end!important}.shop-chat-composer-row .shop-primary:hover,.shop-chat-composer-row .shop-primary:focus{background:#3159BE!important;transform:none!important}.shop-chat-composer-row .shop-primary:before{font-size:20px!important}
.shop-chat-composer-row .shop-chat-file-button,.shop-chat-composer-row .shop-chat-file-button .shop-file-picker-btn{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;align-self:end!important}
@media(max-width:760px){.shop-chat-textarea.is-scrollable{overflow-y:scroll!important;scrollbar-width:none!important}.shop-chat-textarea.is-scrollable::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.shop-chat-composer-row .shop-primary{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important}}

/* Stage 11 arbitration composer action menu */
.shop-arbitrage-composer-menu-wrap{position:relative;grid-column:3!important;align-self:end!important;width:40px!important;height:40px!important}.shop-arbitrage-composer-plus{font-size:0!important}.shop-arbitrage-composer-plus:before{content:'+'!important;display:block!important;font-size:26px!important;line-height:1!important;font-weight:500!important;transform:none!important}.shop-arbitrage-composer-menu{display:none;position:absolute;right:0;bottom:calc(100% + 8px);z-index:30;width:max-content;min-width:190px;max-width:calc(100vw - 24px);padding:6px;background:#fff;border:1px solid #dfe5ee;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.16)}.shop-arbitrage-composer-menu-wrap.is-open .shop-arbitrage-composer-menu{display:grid;gap:4px}.shop-arbitrage-composer-menu button{border:0;background:#fff;color:#26393e;text-align:left;border-radius:9px;padding:10px 12px;font-weight:700;cursor:pointer;white-space:nowrap}.shop-arbitrage-composer-menu button:hover,.shop-arbitrage-composer-menu button:focus{background:#eef4ff;color:#3159BE}.shop-arbitrage-composer-menu-wrap .shop-primary{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;border-radius:13px!important}
@media(max-width:760px){.shop-arbitrage-composer-menu{right:0;min-width:210px}.shop-arbitrage-composer-menu button{padding:12px 14px}}

/* Stage 11 shared textarea behavior for buyer/product question branch */
.shop-question-form .shop-chat-textarea{width:100%!important;min-width:0!important;min-height:44px!important;line-height:20px!important;resize:none!important;box-sizing:border-box!important;overflow-y:hidden!important}
