.store-banner-editor{min-width:0;margin:1rem 0;padding:1rem;border:1px solid #ddd9d1;border-radius:12px;color:#222;background:#fff;grid-column:1/-1}.store-banner-editor legend{padding:0 .5rem;font-weight:700}.store-banner-grid,.store-banner-focal,.store-banner-preview-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.store-banner-label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;min-width:0}.store-banner-label:has(input[type=checkbox]){flex-direction:row;align-items:center}.store-banner-label input:not([type=checkbox]),.store-banner-label select,.store-banner-label textarea{box-sizing:border-box;width:100%;min-width:0;padding:.55rem;border:1px solid #ccc;border-radius:6px;color:#222;background:#fff;font:inherit}.store-banner-label input[type=checkbox]{width:1rem;height:1rem;flex:none}.store-banner-device,.store-banner-button-row{display:grid;gap:.65rem;border:1px solid #e5e3dd;border-radius:8px;padding:.85rem}.store-banner-mobile,.store-banner-buttons,.store-banner-preview-tools{margin-top:1rem}.store-banner-buttons summary{cursor:pointer;font-weight:700}.store-banner-button-row{margin-top:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.store-banner-button-row>.store-banner-label:has(input[data-banner-button-field=url]){grid-column:1/-1}.store-banner-hint{font-size:.85rem;line-height:1.7;color:#655f55;margin:.5rem 0}.store-banner-action{padding:.5rem .8rem;background:#fff;border:1px solid #bbb;border-radius:7px;font:inherit;cursor:pointer}.store-banner-preview{width:100%;margin:1rem auto 0;border:1px solid #e5e3dd;border-radius:8px;overflow:hidden;max-width:960px}.store-banner-preview.is-mobile{max-width:390px}.store-banner-error{color:#b42318;font-size:.9rem;margin:.5rem 0}.store-banner-editor:disabled{opacity:.75}.store-banner-preview a{pointer-events:none}@media(max-width:600px){.store-banner-grid,.store-banner-button-row{grid-template-columns:minmax(0,1fr)}.store-banner-editor{padding:.8rem}.store-banner-focal{gap:.5rem}}

/* Adapt to the narrow profile column as well as the viewport. */
.store-banner-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.store-banner-button-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.store-banner-grid>.store-banner-label:has(input[type=checkbox]){grid-column:1/-1}
