/* Режим владельца: аккуратные дополнительные элементы, исходная витрина сохранена. */
[hidden]{display:none!important}
.owner-active .owner-section-bar{position:relative;display:block;margin:20px 0 30px;padding:0 5%}
.owner-section-bar-inner{max-width:1500px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px;border:1px solid #deded8;background:#eeece6;border-radius:9px;flex-wrap:wrap}
.owner-mode-label{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:#334138}
.owner-mode-label>span:last-child{color:#777f72;font-weight:400}
.owner-mode-dot{height:8px;width:8px;border-radius:50%;background:#6c8a66}
.owner-section-actions{display:flex;gap:9px;flex-wrap:wrap}
.owner-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d0d6ce;border-radius:5px;padding:12px 15px;font:700 12px 'Manrope',Arial,sans-serif;cursor:pointer;white-space:nowrap;text-decoration:none}
.owner-action-primary{background:#3d5040;color:white;border-color:#3d5040}.owner-action-primary:hover{background:#536c54}
.owner-action-light{background:white;color:#3d4b3e}.owner-action-light:hover{background:#f7f9f5}
.owner-action-minor{border-color:transparent;background:transparent;color:#6f7a6f}.owner-action-minor:hover{background:#f7f8f4}
.owner-product-wrap{min-width:0;position:relative;background:white;display:flex;flex-direction:column;overflow:hidden}
.owner-product-wrap>a{flex:1;display:block;width:100%;height:auto;min-width:0}
.owner-card-edit{padding:12px 13px;background:#f8f8f4;border:1px solid #dce2d8;border-top:0;font:700 11px 'Manrope',Arial,sans-serif;color:#374a3a;width:100%;cursor:pointer}
.owner-card-edit:hover{background:#e9efe7}
.owner-add-tile{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;border:1.5px dashed #acb8aa;border-radius:7px;background:#f7f8f5;color:#3e4b3d;min-width:0;text-align:center;padding:25px;cursor:pointer;font-family:'Manrope',Arial,sans-serif}
.owner-add-tile:hover{background:#ecf1eb;border-color:#738973}
.owner-add-tile .owner-tile-plus{display:grid;place-items:center;width:64px;height:64px;background:#e2e8df;color:#3d513f;border-radius:50%;font:300 40px/1 Arial,sans-serif}
.owner-add-tile strong{font-size:14px}.owner-add-tile>span:last-child{font-size:11px;color:#7c8679}
.int-products .owner-add-tile{min-height:385px}
.owner-modal-backdrop{position:fixed;inset:0;z-index:500;background:#151d17a8;display:flex;align-items:center;justify-content:center;padding:17px;overflow:auto}
.owner-modal-dialog{background:#fffdfb;box-shadow:0 23px 65px #0004;width:min(740px,100%);max-height:94vh;overflow:auto;border-radius:10px}
.owner-modal-header{display:flex;align-items:start;justify-content:space-between;gap:15px;padding:27px 29px 23px;border-bottom:1px solid #e6e8e1}
.owner-modal-header h2{font:400 38px/1.12 'Playfair Display',Georgia,serif;margin:8px 0 0}
.owner-eyebrow{font-size:10px;color:#74806f;font-weight:800;letter-spacing:.16em}
.owner-modal-x{border:0;background:#f2f3ef;width:35px;height:35px;border-radius:6px;font-size:22px}
.owner-model-form{display:grid;gap:19px;padding:24px 29px 29px}
.owner-form-lead{font-size:12px;color:#758071;line-height:1.8;margin:0}
.owner-model-form label{display:flex;flex-direction:column;gap:9px;color:#455344;font-size:12px;font-weight:750;min-width:0}
.owner-model-form input:not([type=file]),.owner-model-form textarea,.owner-model-form select{border:1px solid #d9ded6;padding:13px;background:white;font:500 13px 'Manrope',Arial,sans-serif;min-width:0;color:#27362a}
.owner-model-form input[type=file]{font-size:12px;padding:12px;border:1px dashed #cad2c7;width:100%}
.owner-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.owner-upload-preview{padding:12px;border:1px solid #e0e5db;background:#fafaf7;color:#7b877b;font-size:12px}
.owner-form-note{font-size:11px;line-height:1.8;color:#777f74;margin:0}
.owner-form-error{color:#a1392f;font-size:12px;line-height:1.6}
.owner-form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.owner-editor-back{padding:18px 0;display:flex;justify-content:space-between;gap:15px;font-size:12px;font-weight:700;color:#5e7460}
body[data-editor-category] .ad-category-images{display:none!important}
body[data-editor-category] .ad-group label[hidden]{display:none!important}
.owner-landing{background:#f6f5f1}.owner-start{max-width:1120px;margin:0 auto;padding:48px 5% 110px}.owner-home-link{font-size:12px;color:#617362}.owner-start-eyebrow{font-size:11px;letter-spacing:.17em;color:#849183;margin-top:45px;font-weight:700}.owner-start h1{font:400 clamp(34px,5vw,65px)/1.08 'Playfair Display',Georgia,serif;margin:15px 0 22px}.owner-start p{font-size:14px;color:#6b7569;line-height:1.85;max-width:780px}.owner-start-alert{padding:20px 22px;background:#eeeae1;border-left:3px solid #6d7f67;max-width:850px;font-size:13px;line-height:1.8}.owner-start-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:25px 0}.owner-primary,.owner-secondary,.owner-import{padding:13px 20px;border-radius:5px;cursor:pointer;font:750 12px 'Manrope',Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center}.owner-primary{background:#354c3b;color:white;border:1px solid #354c3b}.owner-secondary,.owner-import{background:white;color:#354c3b;border:1px solid #d0d8d0}.owner-start-status{color:#73816e;font-size:12px}.owner-start h2{font:400 30px 'Playfair Display',Georgia,serif;margin:45px 0 15px}.owner-section-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.owner-section-list a{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:20px;background:white;border:1px solid #e0e4dc;font-size:13px;font-weight:750}.owner-section-list a span:last-child{color:#8a9689;font-size:11px}.owner-section-list a:hover{border-color:#788c78}.owner-backup{margin-top:60px;padding:25px;background:#efede8}.owner-backup h2{margin:0 0 11px}.owner-backup p{margin:0}
@media(max-width:820px){.owner-section-bar-inner{flex-direction:column;align-items:stretch}.owner-section-actions{justify-content:flex-start}}
@media(max-width:600px){.owner-form-grid,.owner-section-list{grid-template-columns:1fr}.owner-model-form{padding:18px}.owner-modal-header{padding:19px}.owner-start{padding:22px 5% 65px}.owner-section-actions .owner-action{font-size:11px;padding:10px}.owner-add-tile{min-height:245px}.int-products .owner-add-tile{min-height:245px}}

/* Деликатный вход владельца справа от поиска */
.owner-login-link{border-radius:50%;flex:0 0 32px}
.owner-login-link:hover{background:#edf1eb}

/* Восстановленная кнопка редактирования внутри списков каталога. */
body.owner-active .int-products > .owner-product-wrap,
body.owner-active .catalog-cards > .owner-product-wrap {min-width:0;display:flex;flex-direction:column;position:relative;align-self:stretch;}
body.owner-active .int-products > .owner-product-wrap > a.int-product {flex:1 1 auto;display:flex;flex-direction:column;min-width:0;}
body.owner-active .owner-product-wrap > button.owner-card-edit {display:block;flex:0 0 auto;min-height:42px;position:relative;z-index:3;opacity:1;visibility:visible;}
