.shop-offer-editor { box-sizing: border-box; min-width: 0; max-width: 100%; padding: 18px; margin: 0 0 20px; border: 1px solid #b9c9dc; border-radius: 14px; background: #f7faff; color: #152b46; font-size: 1rem; line-height: 1.45; }
.shop-offer-editor *, .shop-offer-editor *::before, .shop-offer-editor *::after { box-sizing: border-box; }
.shop-offer-editor h3 { margin: 0 0 8px; font-size: 1.2rem; }
.shop-offer-editor p { margin: 8px 0; overflow-wrap: anywhere; }
.shop-offer-editor-fields { display: grid; gap: 14px; min-width: 0; }
.shop-offer-editor-price-summary { position: sticky; top: 54px; z-index: 2; display: grid; gap: 5px; max-height: min(180px, 30vh); overflow: auto; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #b9c9dc; border-radius: 9px; background: #edf4ff; box-shadow: 0 3px 8px #152b4614; overflow-wrap: anywhere; }
.shop-offer-editor-price-summary[hidden] { display: none; }
.shop-offer-editor-price-phases { display: grid; gap: 3px; min-width: 0; }
.shop-offer-editor-price-phase { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 12px; min-width: 0; }
.shop-offer-editor-price-phase strong { font-variant-numeric: tabular-nums; }
.shop-offer-editor fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 14px; border: 1px solid #bbc9da; border-radius: 10px; background: #fff; }
.shop-offer-editor legend { padding: 0 5px; font-weight: 700; max-width: 100%; overflow-wrap: anywhere; }
.shop-offer-editor-field { display: grid; gap: 5px; min-width: 0; font-weight: 600; }
.shop-offer-editor select, .shop-offer-editor button { min-width: 0; max-width: 100%; min-height: 44px; font: inherit; color: inherit; border: 1px solid #8ca2bc; border-radius: 7px; background: #fff; padding: 9px 11px; }
.shop-offer-editor select { width: 100%; }
.shop-offer-editor button { cursor: pointer; white-space: normal; overflow-wrap: anywhere; font-weight: 600; }
.shop-offer-editor button:hover:not(:disabled) { background: #e8f0fb; border-color: #335d8c; }
.shop-offer-editor :focus-visible { outline: 3px solid #1264c6; outline-offset: 3px; }
.shop-offer-editor button:disabled { cursor: default; opacity: .6; }
.shop-offer-editor input[type="checkbox"] { width: 24px; height: 24px; margin: 10px; accent-color: #125aa5; }
.shop-offer-editor-field:has(input[type="checkbox"]) { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 10px; }
.shop-offer-editor summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 650; }
.shop-offer-editor-options { display: grid; gap: 12px; padding-top: 8px; }
.shop-offer-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.shop-offer-editor-actions > button:first-child { background: #164f87; color: #fff; border-color: #164f87; }
.shop-offer-editor-actions > button:first-child:hover:not(:disabled) { background: #0e3b68; }
.shop-offer-editor-errors { padding: 10px 12px; margin-top: 14px; border: 1px solid #b44c39; border-radius: 7px; color: #802a1e; background: #fff5f2; }
.shop-offer-editor-errors[hidden] { display: none; }
@media (max-width: 480px) { .shop-offer-editor { padding: 12px; } .shop-offer-editor fieldset { padding: 10px; } .shop-offer-editor-actions { display: grid; } .shop-offer-editor-actions button { width: 100%; } }
@media (min-width: 900px) {
 .shop-offer-editor fieldset { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); align-items: end; }
 .shop-offer-editor fieldset > .shop-offer-editor-field:first-of-type { grid-column: span 2; }
 .shop-offer-editor fieldset > .shop-offer-editor-options, .shop-offer-editor fieldset > details { grid-column: 1 / -1; }
 .shop-offer-editor-add { display:flex; align-items:end; gap:12px; }
 .shop-offer-editor-add .shop-offer-editor-field { flex:1; }
}
