.af-shared-product{width:min(960px,calc(100vw - 32px));max-width:960px;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#ddd);border-radius:20px;color:var(--ink,#182b23);background:var(--paper,#fff);box-shadow:0 24px 80px #172b2333;overflow:auto}
.af-shared-product::backdrop{background:#10251d88}
.af-shared-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #e3e9e5;background:#fff}
.af-shared-head h2{margin:5px 0;font-size:25px;line-height:1.25}.af-shared-head p{margin:0;color:#68746c;overflow-wrap:anywhere}.af-shared-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700;color:#68746c}
.af-shared-head>button{flex:none;border:0;border-radius:50%;width:36px;height:36px;font-size:25px;background:#f0f4f1;color:#264638;cursor:pointer}
.af-shared-body{padding:24px 28px}.af-shared-scope{margin:0 0 20px;padding:14px 16px;border-radius:12px;background:#edf6ef;color:#295442;font-size:14px;line-height:1.6}
.af-shared-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.af-shared-form>label,.af-shared-form .aw-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:0}.af-shared-form input:not([type=checkbox]):not([type=file]),.af-shared-form select,.af-shared-form textarea{box-sizing:border-box;max-width:100%;width:100%;min-height:44px;border:1px solid #ccd8d0;border-radius:9px;padding:10px 12px;font:inherit;background:#fff;color:#193629}.af-shared-form textarea{resize:vertical;line-height:1.5;font-weight:400}.af-shared-form input[type=file]{max-width:100%;font-size:12px}.af-shared-form .af-unit-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;grid-column:1/-1}.af-shared-form .af-unit-fields .af-fraction{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.af-shared-form .af-unit-fields .aw-field:last-child{grid-column:2;grid-row:1}.af-shared-form .af-fraction{grid-column:1/-1}.af-shared-form .af-photo-field{grid-column:1/-1;display:grid;gap:9px;border:1px dashed #bdcec2;border-radius:12px;padding:16px;min-width:0}.af-shared-form .af-photo-field small{font-size:12px;color:#68746c}.af-shared-form .af-product-photo{width:100px;height:100px;border-radius:10px;object-fit:cover}.af-shared-form [data-photo-remove]{justify-self:start;border:0;padding:6px 0;color:#8b3939;background:transparent}.af-shared-wide{grid-column:1/-1}
.af-shared-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:8px 0 22px;border-bottom:1px solid #e2e9e4}.af-shared-actions button{min-height:44px}.af-shared-warning{padding:16px;border-radius:12px;border:1px solid #e7bf70;background:#fff7e5;font-size:13px;line-height:1.5}.af-shared-warning p{margin:8px 0}.af-shared-warning label{display:flex;align-items:flex-start;gap:9px;font-weight:600}.af-shared-warning input{margin-top:3px;flex:none}.af-shared-warning[hidden],[data-shared-message][hidden],.af-shared-actions [hidden],.af-shared-form [data-photo-remove][hidden]{display:none}
[data-shared-message]{margin:0 0 18px;padding:13px 15px;border-radius:10px;background:#fff0ed;color:#923a2f;font-size:14px;line-height:1.5}[data-shared-message][data-kind=success]{background:#edf6ef;color:#295442}.af-shared-stores{margin-top:24px}.af-shared-stores h3{margin:0 0 8px;font-size:18px}.af-shared-stores>p{font-size:13px;line-height:1.6;color:#68746c;margin:0 0 15px}.af-shared-store-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.af-shared-store-list article{border:1px solid #e1e8e3;border-radius:12px;padding:16px;background:#fafcfb;min-width:0}.af-shared-store-list h4{margin:0 0 12px;font-size:14px;overflow-wrap:anywhere}.af-shared-store-list dl{margin:0;display:grid;gap:7px}.af-shared-store-list dl>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.af-shared-store-list dt{color:#68746c}.af-shared-store-list dd{margin:0;text-align:right;font-weight:600}.af-shared-store-actions{display:flex;gap:8px;flex-wrap:wrap}.af-shared-local-hint{grid-column:1/-1;padding:12px 14px;background:#edf6ef;border-radius:10px;font-size:13px;line-height:1.5}.af-shared-local-hint[hidden]{display:none}.af-shared-local-hint button{margin-left:8px}
@media(max-width:600px){.af-shared-product{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.af-shared-head{padding:18px 16px;gap:10px}.af-shared-head h2{font-size:21px}.af-shared-body{padding:18px 16px}.af-shared-form,.af-shared-store-list{grid-template-columns:minmax(0,1fr)}.af-shared-form{gap:15px}.af-shared-form .af-unit-fields{grid-template-columns:minmax(0,1fr)}.af-shared-form .af-unit-fields .aw-field:last-child{grid-column:auto;grid-row:auto}.af-shared-actions{flex-direction:column-reverse}.af-shared-actions button{width:100%}.af-shared-store-list dl>div{font-size:12px}.af-shared-local-hint button{margin:8px 0 0}}

.af-shared-warning label{width:100%;min-width:0;box-sizing:border-box}.af-shared-warning label>span{flex:1;min-width:0;overflow-wrap:anywhere}.af-shared-warning input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;flex:0 0 18px;margin:3px 0 0;box-sizing:border-box}

.af-new-product{margin-bottom:20px}.af-new-product>summary,.af-store-editor>summary{cursor:pointer;font-weight:600;color:#295442;padding:12px 0;line-height:1.4}.af-new-product>summary{display:list-item;width:fit-content;padding:12px 18px;border:1px solid #ccd8d0;border-radius:10px;background:#fff;margin-bottom:12px}.af-catalog-count{color:#68746c;font-size:13px}.af-unique-catalog td:last-child button{white-space:nowrap}.af-unique-catalog .af-product-photo{width:48px;height:48px;object-fit:cover;border-radius:8px;margin-right:10px;float:left}.af-unique-catalog td:first-child{min-width:190px}
.af-store-editor{border-top:1px solid #e1e8e3;margin-top:12px}.af-store-editor form{display:grid;gap:10px}.af-store-editor label,.af-history-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;min-width:0}.af-store-editor input:not([type=checkbox]),.af-history-filters select{box-sizing:border-box;width:100%;max-width:100%;min-height:42px;border:1px solid #ccd8d0;border-radius:8px;padding:8px 10px;background:#fff;color:#193629;font:inherit}.af-store-editor input[type=color]{padding:5px}.af-store-editor input:read-only,.af-store-editor input:disabled{background:#edf1ee;color:#57675d}.af-store-editor small{font-size:11px;color:#68746c;line-height:1.5}.af-store-editor label.af-store-active{flex-direction:row;align-items:center;gap:8px}.af-store-active input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0}.af-store-editor button{white-space:normal;min-height:44px}.af-store-editor [data-store-message]{margin:0;padding:10px;border-radius:8px;background:#fff0ed;color:#923a2f;font-size:12px;line-height:1.5}.af-store-editor [data-store-message][data-kind=success]{background:#edf6ef;color:#295442}.af-store-editor [data-store-message][hidden]{display:none}
.af-shared-history{margin-top:28px;padding-top:20px;border-top:1px solid #e1e8e3}.af-shared-history>h3{margin:0 0 12px;font-size:18px}.af-shared-history p{font-size:12px;line-height:1.6;color:#68746c}.af-history-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.af-product-history{font-size:12px;min-width:580px}.af-product-history td{vertical-align:top}.af-product-history small{display:block;margin-top:5px;color:#68746c;white-space:normal;overflow-wrap:anywhere}.af-shared-history [role=alert]{color:#923a2f}.af-shared-history [hidden]{display:none}.af-shared-form input:disabled,.af-shared-form select:disabled,.af-shared-form textarea:disabled{opacity:1;background:#f4f6f4;color:#57675d}
@media(max-width:600px){.af-history-filters{grid-template-columns:1fr}.af-new-product>summary{box-sizing:border-box;max-width:100%}.af-store-editor button{width:100%}.af-shared-stores .af-shared-store-list{grid-template-columns:minmax(0,1fr)}}

.af-unique-catalog .af-catalog-product-name{display:block;width:auto;max-width:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#295442;font:inherit;font-weight:700;line-height:1.45;text-align:left;white-space:normal;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.af-unique-catalog .af-catalog-product-name:focus-visible{outline:2px solid #295442;outline-offset:3px}

.af-catalog-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(145px,1fr) minmax(210px,1.3fr) auto;gap:12px;align-items:end;margin:0 0 18px}.af-catalog-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:600;color:#42564a}.af-catalog-filters input,.af-catalog-filters select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #ccd8d0;border-radius:9px;padding:10px 12px;background:#fff;color:#193629;font:inherit}.af-catalog-filters>button{min-height:44px;white-space:nowrap}.af-catalog-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0}.af-catalog-breadcrumbs button{border:0;background:transparent;padding:7px 0;color:#295442;font:inherit;font-size:13px;cursor:pointer}.af-catalog-breadcrumbs [aria-current=page]{font-weight:700}.af-catalog-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:16px 0}.af-catalog-folders>button{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:6px 10px;min-width:0;min-height:88px;padding:16px;border:1px solid #cdded2;border-radius:12px;background:#f3f8f4;color:#234a35;text-align:left;cursor:pointer}.af-catalog-folders>button>span{grid-row:1/3;font-size:28px}.af-catalog-folders strong{font-size:14px;overflow-wrap:anywhere}.af-catalog-folders small{font-size:12px;color:#68746c}.af-catalog-folders button:focus-visible,.af-catalog-breadcrumbs button:focus-visible{outline:2px solid #295442;outline-offset:3px}
@media(max-width:1100px){.af-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.af-catalog-filters>button{justify-self:start}}
@media(max-width:600px){.af-catalog-filters{grid-template-columns:minmax(0,1fr)}.af-catalog-filters>button{width:100%;justify-self:stretch}.af-catalog-folders{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.af-catalog-folders>button{padding:12px;grid-template-columns:22px minmax(0,1fr);gap:5px 7px}.af-catalog-folders>button>span{font-size:24px}.af-catalog-folders strong{font-size:13px}}
