.storefront-page { padding: 24px; }
.storefront-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.storefront-page-header h1 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin: 0 0 6px; }
.storefront-page-header p { color: var(--mkp-muted-foreground); margin: 0; }
.storefront-actions { flex-shrink: 0; }
.storefront-search { max-width: 480px; }
.storefront-page.storefront-list { padding: 0; }
.storefront-list .storefront-page-header { margin-bottom: 16px; }
.storefront-page .card-storefront { display: grid; grid-template-columns: minmax(0, 1fr) 112px; margin-bottom: 0; border: 1px solid var(--mkp-border); box-shadow: none; overflow: hidden; }
.storefront-page .card-storefront > .card-body { display: grid; grid-template-columns: 104px minmax(180px, 1fr) minmax(220px, 1.2fr); align-items: center; gap: 20px; padding: 12px 16px; }
.storefront-page .storefront-logo-wrapper { display: flex; align-items: center; justify-content: center; height: 56px; }
.storefront-page .storefront-logo { max-width: 100%; max-height: 56px; object-fit: contain; }
.storefront-page .storefront-logo-placeholder { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--mkp-radius); background: var(--mkp-muted); color: var(--mkp-muted-foreground); font-size: 24px; }
.storefront-card-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.storefront-card-heading .card-title { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; margin: 0; }
.storefront-card-heading .badge { flex-shrink: 0; }
.storefront-identity { min-width: 0; }
.storefront-identity p { margin: 4px 0 0; overflow-wrap: anywhere; }
.storefront-details { display: flex; flex-wrap: wrap; gap: 4px 16px; align-content: center; }
.storefront-details p { margin: 0; overflow-wrap: anywhere; }
.storefront-details .storefront-company { width: 100%; }
.storefront-details .fa { width: 16px; }
.storefront-page .card-actions { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 4px 8px; border-left: 1px solid var(--mkp-border); }
.storefront-page .action-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding-inline: 8px; }
.storefront-page .card-actions .delete { border-color: transparent; box-shadow: none; }
.storefront-page .card-actions .btn { min-height: 32px; padding-block: 4px; }
.storefront-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.storefront-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--mkp-border); border-radius: var(--mkp-radius-lg); background: var(--mkp-surface); color: var(--mkp-muted-foreground); }
.storefront-empty h2 { margin: 12px 0 8px; color: var(--mkp-foreground); font-size: 18px; }
.storefront-editor .storefront-form-surface > .card-body { padding: 24px; }
.storefront-tabs .nav-tabs { width: fit-content; max-width: 100%; }
.storefront-tabs .nav-link { display: flex; align-items: center; gap: 8px; }
.storefront-section { display: grid; grid-template-columns: minmax(170px, 24%) minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--mkp-border); }
.storefront-section:first-child { border-top: 0; padding-top: 0; }
.storefront-section:last-child { padding-bottom: 0; }
.storefront-section-heading h2 { font-size: 15px; font-weight: 600; line-height: 1.5; }
.storefront-section > .card-body { min-width: 0; padding: 0; }
.storefront-section .form-label { font-weight: 500; }
.storefront-section .form-label > .fa { display: none; }
.storefront-section .row { --bs-gutter-x: 20px; }
.storefront-section .form-text { display: block; line-height: 1.5; }
.storefront-section .color-picker-container { display: flex; align-items: center; gap: 12px; }
.storefront-section .color-picker { width: 48px; height: 36px; padding: 3px; flex: 0 0 48px; }
.storefront-section .color-display { display: flex; align-items: center; gap: 8px; }
.storefront-section .color-preview { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--mkp-border); }
.storefront-section .char-counter { flex-shrink: 0; padding-left: 12px; }
.storefront-section .upload-area { padding: 16px; border: 1px solid var(--mkp-border); border-radius: var(--mkp-radius); }
.storefront-section .upload-preview { min-height: 68px; display: grid; place-items: center; margin-bottom: 12px; text-align: center; }
.storefront-section .upload-area > .btn { width: 100%; }
.storefront-section .upload-area .filepond--root { margin-bottom: 0; }
.storefront-editor #saveProgress { height: 4px; }
@media (max-width: 1199.98px) {
    .storefront-page-header { flex-wrap: wrap; gap: 16px; }
    .storefront-section { grid-template-columns: minmax(150px, 22%) minmax(0, 1fr); gap: 20px; }
    .storefront-page .card-storefront > .card-body { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
    .storefront-details { grid-column: 2; }
}
@media (max-width: 767.98px) {
    .storefront-page { padding: 16px; }
    .storefront-editor .storefront-form-surface > .card-body { padding: 16px; }
    .storefront-section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .storefront-section .upload-section { margin-bottom: 16px; }
    .storefront-actions { flex-shrink: 1; }
    .storefront-tabs .nav-tabs { width: 100%; }
    .storefront-page .card-storefront { grid-template-columns: minmax(0, 1fr); }
    .storefront-page .card-actions { flex-direction: row; justify-content: flex-end; border-left: 0; border-top: 1px solid var(--mkp-border); }
    .storefront-page .card-storefront > .card-body { grid-template-columns: 64px minmax(0, 1fr); }
    .storefront-details { grid-column: 1 / -1; }
}
