:root {
    /* Marque SaveMeal (accents marketing) */
    --smu-bg: #f0f0f1;
    --smu-surface: #ffffff;
    --smu-text: #2c3338;
    --smu-muted: #646970;
    --smu-primary: #f08b2f;
    --smu-dark: #1d2327;
    --smu-border: #c3c4c7;

    /* Charte type WordPress / WooCommerce (admin) */
    --wp-body-bg: #f0f0f1;
    --wp-menu-bg: #1d2327;
    --wp-menu-text: #f0f0f1;
    --wp-menu-hover-bg: #2c3338;
    --wp-blue: #1D1D1C;
    --wp-blue-hover: #1D1D1C;
    --wp-blue-focus: #1D1D1C;
    --wp-table-head: #f6f7f7;
    --wp-notice-border: #c3c4c7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: var(--wp-body-bg);
    color: var(--smu-text);
}

.smu-shell {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 1.25rem;
}

.smu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.smu-logo {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1.2rem;
}

.smu-badge {
    text-decoration: none;
    font-size: 0.78rem;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--smu-border);
    color: var(--smu-muted);
    background: var(--smu-surface);
}

.smu-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.1rem;
}

.smu-card {
    border-radius: 0;
    background: var(--smu-surface);
    border: 1px solid var(--smu-border);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.smu-hero {
    background: linear-gradient(135deg, var(--smu-dark), #2b2019 60%, #4f3a2f);
    color: #fff;
    padding: 1.5rem;
}

.smu-hero p {
    margin: 0 0 0.5rem 0;
    color: #f9d6b8;
}

.smu-hero h1 {
    margin: 0;
}

.smu-btn {
    display: inline-block;
    margin-top: 1rem;
    background: var(--wp-blue);
    color: #fff;
    border: 1px solid var(--wp-blue);
    border-radius: 3px;
    padding: 0.45rem 0.85rem;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.4;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.smu-btn:hover {
    background: var(--wp-blue-hover);
    border-color: var(--wp-blue-hover);
    color: #fff;
}

/* CTA marketing (page d accueil, hero) — conserve l orange marque */
.smu-btn--brand {
    background: var(--smu-primary);
    border-color: #c26716;
    border-radius: 3px;
}

.smu-btn--brand:hover {
    background: #e07d28;
    border-color: #b85d12;
    color: #fff;
}

.smu-section {
    margin-top: 1rem;
    padding: 1rem;
}

.smu-list {
    display: grid;
    gap: 0.7rem;
}

.smu-shop-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--smu-border);
    border-radius: 0;
    padding: 0.65rem 0.75rem;
}

.smu-shop-row p {
    margin: 0;
}

.smu-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
}

.smu-stats {
    padding: 1rem;
}

.smu-stat-line {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--smu-border);
    font-size: 0.92rem;
}

.smu-stat-line:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .smu-grid {
        grid-template-columns: 1fr;
    }
}

/* Backoffice app shell (sidebar layout) */
.smu-app-body {
    background: var(--wp-body-bg);
}

.smu-app {
    min-height: 100vh;
}

.smu-sidebar {
    background: #eef2ff;
    border-right: 1px solid #dbeafe;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-sizing: border-box;
}

.smu-sidebar-brand {
    padding: 0.5rem 0.75rem 0.75rem;
}

.smu-sidebar-logo-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.smu-sidebar-logo {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
}

.smu-sidebar-title {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.smu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-height: 0;
}

.smu-nav-group {
    margin: 0.75rem 0.5rem 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.smu-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    border: 1px solid transparent;
    background: transparent;
    color: #1d4ed8;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.92rem;
    cursor: pointer;
}

.smu-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

.smu-nav-link:hover {
    background: rgba(37, 99, 235, 0.08);
}

.smu-nav-link.is-active {
    background: #2563eb;
    color: #fff;
    border-color: #1d4ed8;
}

.smu-nav-link.subtle {
    color: #334155;
}

.smu-sidebar-footer {
    border-top: 1px solid #dbeafe;
    padding-top: 0.5rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.smu-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Desktop : sidebar fixe, pas de scroll sur la barre ; le contenu principal defile seul */
@media (min-width: 981px) {
    .smu-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 260px;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        z-index: 30;
    }

    .smu-main {
        margin-left: 260px;
        min-height: 100vh;
    }
}

.smu-topbar {
    background: #fff;
    border-bottom: 1px solid var(--wp-notice-border);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.smu-topbar-lead {
    min-width: 0;
    flex: 1;
}

.smu-topbar-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1d2327;
}

.smu-topbar-subtitle {
    margin-top: 0.25rem;
    color: var(--smu-muted);
    font-size: 0.88rem;
}

.smu-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.smu-dropdown {
    position: relative;
}

.smu-dropdown > summary {
    list-style: none;
    cursor: pointer;
}

.smu-dropdown > summary::-webkit-details-marker {
    display: none;
}

.smu-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--smu-border);
    background: #fff;
    color: #475569;
    position: relative;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.smu-icon-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.smu-icon-svg {
    display: block;
}

.smu-notify-dot {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #fff;
}

.smu-bell-summary:focus-visible {
    outline: 2px solid var(--wp-blue);
    outline-offset: 2px;
}

.smu-profile-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    list-style: none;
    cursor: pointer;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.smu-profile-summary:hover {
    background: #f8fafc;
    border-color: var(--smu-border);
}

.smu-profile-summary:focus-visible {
    outline: 2px solid var(--wp-blue);
    outline-offset: 2px;
}

.smu-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 3px;
    background: var(--wp-blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.smu-profile-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 160px;
}

.smu-profile-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--smu-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.smu-profile-role {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--smu-muted);
}

.smu-chevron {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

details[open] > .smu-profile-summary .smu-chevron {
    transform: rotate(180deg);
}

.smu-dropdown-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 220px;
    padding: 0.65rem 0;
    background: #fff;
    border: 1px solid var(--smu-border);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    z-index: 50;
}

.smu-dropdown--notify .smu-dropdown-panel--notify {
    min-width: 280px;
    padding: 0.85rem 1rem;
}

.smu-dropdown-empty {
    margin: 0;
    font-size: 0.88rem;
    color: var(--smu-muted);
    line-height: 1.45;
}

.smu-notify-intro {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    color: var(--smu-text);
    line-height: 1.4;
}

.smu-notify-intro strong {
    color: #b45309;
}

.smu-notify-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 240px;
    overflow-y: auto;
}

.smu-notify-item {
    padding: 0.5rem 0.55rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--smu-border);
    display: grid;
    gap: 0.15rem;
}

.smu-notify-item-name {
    font-weight: 600;
    font-size: 0.88rem;
}

.smu-notify-item-email {
    font-size: 0.78rem;
    color: var(--smu-muted);
    word-break: break-all;
}

.smu-notify-item-date {
    font-size: 0.72rem;
    color: #94a3b8;
}

.smu-notify-cta {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem 0.65rem;
    text-align: center;
    border-radius: 3px;
    background: var(--wp-blue);
    border: 1px solid var(--wp-blue);
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

.smu-notify-cta:hover {
    background: var(--wp-blue-hover);
    border-color: var(--wp-blue-hover);
}

.smu-dropdown-panel--profile {
    padding: 0.75rem 0;
}

.smu-profile-email {
    padding: 0 0.9rem 0.65rem;
    font-size: 0.82rem;
    color: var(--smu-muted);
    word-break: break-all;
    border-bottom: 1px solid var(--smu-border);
}

.smu-dropdown-links {
    padding: 0.5rem 0.35rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.smu-dropdown-links a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 3px;
    font-size: 0.8125rem;
    color: var(--wp-blue);
    text-decoration: none;
}

.smu-dropdown-links a:hover {
    background: #f0f6fc;
    color: var(--wp-blue-hover);
}

.smu-dropdown-logout {
    margin: 0;
    padding: 0;
}

.smu-dropdown-logout button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.55rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 0.88rem;
    color: #b91c1c;
    cursor: pointer;
    font-family: inherit;
}

.smu-dropdown-logout button:hover {
    background: #fef2f2;
}

.smu-banner-pending {
    margin: 0.75rem 1.25rem 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #fcd34d;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    font-size: 0.92rem;
    line-height: 1.45;
}

.smu-banner-pending strong {
    display: block;
    margin-bottom: 0.35rem;
}

.smu-flash {
    margin: 0.75rem 1.25rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0;
    border: 1px solid #00a32a;
    border-left-width: 4px;
    background: #edfaef;
    color: #1e4620;
    font-size: 0.8125rem;
}

.smu-content {
    padding: 1rem 1.25rem 2rem;
}

.smu-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.smu-kpi-card {
    background: #fff;
    border: 1px solid var(--smu-border);
    border-radius: 0;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.smu-kpi-label {
    color: var(--smu-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.smu-kpi-value {
    margin-top: 0.35rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1d2327;
}

.smu-kpi-foot {
    margin-top: 0.35rem;
    color: var(--smu-muted);
    font-size: 0.75rem;
}

.smu-form-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
}

.smu-form-grid input,
.smu-form-grid select {
    width: 100%;
    border: 1px solid var(--smu-border);
    border-radius: 10px;
    padding: 0.55rem;
}

.smu-inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.smu-inline-form select {
    border: 1px solid var(--smu-border);
    border-radius: 10px;
    padding: 0.45rem;
}

.smu-btn.danger {
    background: #d63638;
    border-color: #d63638;
    color: #fff;
}

.smu-btn.danger:hover {
    background: #b32d2e;
    border-color: #b32d2e;
    color: #fff;
}

/* Shop settings (LinkedIn-style header) */
.smu-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.smu-shop-settings {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.smu-shop-settings--wc {
    gap: 1rem;
}

.smu-shop-hero--wc {
    margin-bottom: 0;
    border-radius: 4px;
    border-color: #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.smu-wc-table--merchant-summary {
    min-width: 800px;
}

.smu-shop-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.smu-shop-grid-card {
    border: 1px solid var(--smu-border);
    border-radius: 0;
    background: #fff;
    overflow: visible;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.smu-shop-grid-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.smu-shop-grid-card.is-selected {
    border-color: var(--wp-blue);
    box-shadow: 0 0 0 1px rgba(34, 113, 177, 0.35);
}

.smu-shop-grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.smu-shop-grid-cover {
    position: relative;
    height: 115px;
    background-color: #e2e8f0;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 1;
}

.smu-shop-grid-cover--placeholder {
    background-image: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
}

.smu-shop-grid-logo {
    position: absolute;
    left: 0.7rem;
    bottom: -20px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
    z-index: 3;
}

.smu-shop-grid-logo--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
}

.smu-shop-grid-meta {
    padding: 1.75rem 0.75rem 0.8rem;
    position: relative;
    z-index: 2;
}

.smu-shop-grid-meta h3 {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 700;
}

.smu-shop-grid-meta p {
    margin: 0.25rem 0 0;
    color: var(--smu-muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.smu-shop-grid-status {
    display: inline-flex;
    margin-top: 0.45rem;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.smu-shop-grid-status.is-active {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.smu-shop-grid-status.is-pending {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.smu-admin-shop-details {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1rem;
}

.smu-admin-shop-media {
    position: relative;
}

.smu-admin-shop-cover {
    height: 170px;
    border-radius: 12px;
    border: 1px solid var(--smu-border);
    background-color: #e2e8f0;
    background-size: cover;
    background-position: center;
}

.smu-admin-shop-cover--placeholder {
    background-image: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
}

.smu-admin-shop-logo {
    width: 74px;
    height: 74px;
    border-radius: 14px;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    position: absolute;
    left: 0.75rem;
    bottom: -20px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #64748b;
}

.smu-admin-shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smu-admin-shop-info p {
    margin: 0.2rem 0;
    font-size: 0.88rem;
    line-height: 1.4;
}

.smu-shop-profile {
    border: 1px solid var(--smu-border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.smu-shop-profile-cover {
    height: 220px;
    background-color: #cbd5e1;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.smu-shop-profile-cover--placeholder {
    background-image: linear-gradient(135deg, #64748b 0%, #94a3b8 55%, #cbd5e1 100%);
}

.smu-shop-profile-status {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.smu-shop-profile-status.is-active {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.smu-shop-profile-status.is-pending {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.smu-shop-profile-head {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 1rem 1rem;
    margin-top: -46px;
    position: relative;
    z-index: 3;
}

.smu-shop-profile-logo {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    overflow: hidden;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    flex-shrink: 0;
    position: relative;
    z-index: 4;
}

.smu-shop-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smu-shop-profile-identity {
    min-width: 0;
    flex: 1;
}

.smu-shop-profile-identity h2 {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.15;
}

.smu-shop-profile-identity p {
    margin: 0.35rem 0 0;
    color: var(--smu-muted);
}

.smu-shop-profile-action {
    margin-left: auto;
}

.smu-status-toggle {
    border: none;
    border-radius: 999px;
    width: 152px;
    height: 40px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease;
}

.smu-status-toggle.is-active {
    background: linear-gradient(135deg, #65a30d 0%, #16a34a 100%);
}

.smu-status-toggle.is-suspended {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

.smu-status-toggle-knob {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e5e7eb;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.85);
    position: absolute;
    left: 5px;
    top: 5px;
    transition: transform 0.22s ease;
}

.smu-status-toggle.is-suspended .smu-status-toggle-knob {
    transform: translateX(112px);
}

.smu-status-toggle-label {
    line-height: 1;
    width: 100%;
}

.smu-status-toggle.is-active .smu-status-toggle-label {
    text-align: right;
    padding-right: 10px;
}

.smu-status-toggle.is-suspended .smu-status-toggle-label {
    text-align: left;
    padding-left: 10px;
}

.smu-shop-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0 1rem 1rem;
}

.smu-shop-profile-item {
    border: 1px solid var(--smu-border);
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.2rem;
}

.smu-shop-profile-item strong {
    font-size: 0.8rem;
    color: #475569;
}

.smu-shop-profile-item span {
    font-size: 0.9rem;
}

.smu-shop-profile-item--full {
    grid-column: 1 / -1;
}

.smu-shop-hero {
    position: relative;
    margin: 0 0 1.25rem;
    border-radius: 16px;
    overflow: visible;
    border: 1px solid var(--smu-border);
    background: #fff;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}

.smu-shop-cover {
    position: relative;
    height: 200px;
    background-color: #e2e8f0;
    background-size: cover;
    background-position: center;
}

.smu-shop-cover--placeholder {
    background-image: linear-gradient(135deg, #64748b 0%, #94a3b8 45%, #cbd5e1 100%);
}

.smu-shop-cover-form {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
}

.smu-shop-cover-hit {
    position: absolute;
    inset: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.smu-shop-cover-hit:hover {
    background: rgba(15, 23, 42, 0.06);
}

.smu-shop-fab {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.95);
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: background 0.15s ease, transform 0.15s ease;
}

.smu-shop-fab:hover {
    background: #fff;
    color: #1e293b;
    transform: scale(1.04);
}

.smu-shop-fab--on-avatar {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2;
    border-color: var(--smu-border);
}

.smu-shop-avatar-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 1.25rem 1rem;
    margin-top: -52px;
    position: relative;
    z-index: 3;
}

.smu-shop-logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.smu-shop-logo {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    background: #f1f5f9;
}

.smu-shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.smu-shop-logo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.smu-shop-logo-placeholder {
    font-size: 2rem;
    font-weight: 800;
    color: #64748b;
}

.smu-shop-logo-form {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.smu-shop-logo-form .smu-shop-logo-hit,
.smu-shop-logo-form .smu-shop-fab {
    pointer-events: auto;
}

.smu-shop-logo-hit {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.smu-shop-logo-hit:hover {
    background: rgba(15, 23, 42, 0.08);
}

.smu-shop-hero-meta {
    padding-bottom: 0.35rem;
    min-width: 0;
}

.smu-shop-hero-name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.smu-shop-hero-city {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--smu-muted);
}

.smu-shop-form-card {
    margin-top: 0;
}

.smu-shop-settings-head {
    font-weight: 700;
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.smu-shop-errors {
    padding: 0.65rem 0.85rem 0.65rem 1.35rem;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.smu-shop-errors li {
    margin: 0.2rem 0;
}

.smu-shop-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.smu-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.smu-field span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.smu-field input,
.smu-field textarea,
.smu-field select {
    width: 100%;
    border: 1px solid var(--smu-border);
    border-radius: 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
}

.smu-field textarea {
    resize: vertical;
    min-height: 100px;
}

.smu-field--full {
    grid-column: 1 / -1;
}

/* Sur grille 3 colonnes : occupe 2 colonnes (ex. adresse longue) */
.smu-field--span-2 {
    grid-column: span 2;
}

.smu-field-group {
    grid-column: 1 / -1;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--smu-border);
}

.smu-field-group-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.65rem;
}

.smu-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.smu-field-hint {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: var(--smu-muted);
    line-height: 1.4;
}

/* Bloc geolocalisation boutique (formulaire reglages) */
.smu-location-panel {
    grid-column: 1 / -1;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: #fafbfd;
    border: 1px solid var(--smu-border);
}

.smu-location-panel-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.smu-location-panel-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--smu-border);
    color: var(--smu-primary);
}

.smu-location-panel-body {
    flex: 1;
    min-width: 0;
}

.smu-location-panel-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.35rem;
}

.smu-location-panel-desc {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    color: var(--smu-muted);
    line-height: 1.45;
    max-width: 42rem;
}

.smu-location-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
}

.smu-btn-location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    border: 1px solid var(--smu-border);
    background: #fff;
    color: #334155;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.smu-btn-location:hover:not(:disabled) {
    border-color: rgba(240, 139, 47, 0.55);
    background: #fffdfb;
    color: #1c120d;
}

.smu-btn-location:focus-visible {
    outline: 2px solid rgba(240, 139, 47, 0.45);
    outline-offset: 2px;
}

.smu-btn-location:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.smu-location-status {
    font-size: 0.8rem;
    color: var(--smu-muted);
    line-height: 1.35;
    flex: 1;
    min-width: 12rem;
}

@media (max-width: 640px) {
    .smu-location-panel-inner {
        flex-direction: column;
        gap: 0.65rem;
    }

    .smu-location-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .smu-btn-location {
        justify-content: center;
    }

    .smu-location-status {
        min-width: 0;
    }
}

.smu-shop-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--smu-border);
}

@media (max-width: 900px) {
    .smu-shop-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smu-field--span-2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .smu-shop-grid {
        grid-template-columns: 1fr;
    }

    .smu-shop-fields {
        grid-template-columns: 1fr;
    }

    .smu-field--span-2 {
        grid-column: span 1;
    }

    .smu-field-row {
        grid-template-columns: 1fr;
    }

    .smu-shop-avatar-row {
        flex-wrap: wrap;
        margin-top: -44px;
    }

    .smu-shop-hero-meta {
        flex: 1 1 100%;
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .smu-shop-profile-cover {
        height: 150px;
    }

    .smu-shop-profile-head {
        flex-wrap: wrap;
        align-items: center;
        margin-top: -30px;
    }

    .smu-shop-profile-identity h2 {
        font-size: 1.35rem;
    }

    .smu-shop-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .smu-profile-meta {
        display: none;
    }

    .smu-profile-summary {
        padding: 0.35rem;
    }

    .smu-profile-summary .smu-chevron {
        display: none;
    }
}

@media (max-width: 980px) {
    .smu-sidebar {
        position: static;
        width: auto;
        height: auto;
        max-height: none;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid #dbeafe;
    }

    .smu-main {
        margin-left: 0;
    }

    .smu-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smu-form-grid {
        grid-template-columns: 1fr;
    }

    .smu-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .smu-admin-shop-details {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* Page Paniers — liste type WooCommerce                                       */
/* -------------------------------------------------------------------------- */

.smu-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.smu-basket-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.smu-basket-muted {
    color: var(--smu-muted);
    font-size: 0.88rem;
}

.smu-basket-add-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 1rem;
}

.smu-basket-field span {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.smu-basket-field input,
.smu-basket-field select,
.smu-basket-field textarea {
    width: 100%;
    border: 1px solid var(--smu-border);
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
}

.smu-basket-field textarea {
    resize: vertical;
    min-height: 3.5rem;
}

.smu-basket-add-actions {
    margin-top: 1rem;
}

.smu-basket-submit {
    margin-top: 0 !important;
}

@media (max-width: 960px) {
    .smu-basket-add-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .smu-basket-add-grid {
        grid-template-columns: 1fr;
    }
}

.smu-basket-list-section {
    margin-top: 1rem;
}

.smu-wc-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.smu-wc-count {
    font-size: 0.82rem;
    color: var(--smu-muted);
}

.smu-wc-empty {
    text-align: center;
    padding: 2.25rem 1rem;
    border: 1px dashed var(--smu-border);
    border-radius: 12px;
    background: #fafbfd;
}

.smu-wc-empty p {
    margin: 0.35rem 0;
}

.smu-wc-table-wrap {
    overflow-x: auto;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.smu-wc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 720px;
}

.smu-wc-table--shops-branding {
    min-width: 920px;
}

.smu-wc-table--merchants {
    min-width: 860px;
}

.smu-wc-row.is-selected {
    background: #f0f6fc;
}

.smu-wc-row.is-selected .smu-wc-title {
    color: var(--wp-blue);
}

.smu-wc-inline-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--wp-blue);
    text-decoration: none;
}

.smu-wc-inline-link:hover {
    color: var(--wp-blue-hover);
    text-decoration: underline;
}

.smu-wc-td-ellipsis {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smu-wc-td-muted {
    color: #646970;
    font-size: 0.8125rem;
}

.smu-wc-table thead th {
    text-align: left;
    font-weight: 600;
    color: #2c3338;
    background: #f6f7f7;
    border-bottom: 1px solid #c3c4c7;
    padding: 0.65rem 0.75rem;
}

.smu-wc-table thead th.smu-wc-col-actions {
    text-align: right;
}

.smu-wc-table tbody td {
    border-bottom: 1px solid #f0f0f1;
    padding: 0.65rem 0.75rem;
    vertical-align: middle;
}

.smu-wc-row:hover {
    background: #f6f7f7;
}

.smu-wc-row.is-inactive .smu-wc-title {
    color: #646970;
}

.smu-wc-col-thumb {
    width: 56px;
}

.smu-wc-col-actions {
    width: 160px;
    text-align: right;
}

.smu-wc-thumb {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--smu-border);
    background: #f8fafc;
}

.smu-wc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smu-wc-title {
    display: block;
    color: #1D1D1C;
    font-weight: 600;
}

.smu-wc-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--smu-muted);
    margin-top: 0.15rem;
}

.smu-wc-td-num {
    font-variant-numeric: tabular-nums;
}

.smu-wc-price-promo {
    display: block;
    font-weight: 600;
    color: #1e293b;
}

.smu-wc-price-orig {
    display: block;
    font-size: 0.78rem;
    color: var(--smu-muted);
    text-decoration: line-through;
}

.smu-wc-badge {
    display: inline-block;
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.smu-wc-badge--publish {
    background: #edfaef;
    color: #1d7b36;
    border: 1px solid #68de86;
}

.smu-wc-badge--draft {
    background: #fcf0f1;
    color: #8a2424;
    border: 1px solid #f0b0b5;
}

/* Statut compte (liste marchands) — suspendu */
.smu-wc-badge--account-suspended {
    background: #fcf0f1;
    color: #8a2424;
    border: 1px solid #dcdcde;
}

.smu-wc-list-section {
    border-color: #c3c4c7;
    border-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.smu-wc-table--merchants thead th,
.smu-wc-table--merchants tbody td {
    padding: 0.5rem 0.65rem;
    vertical-align: middle;
}

.smu-wc-table--merchants .smu-wc-row-actions {
    justify-content: flex-end;
}

.smu-wc-td-date {
    color: #646970;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.smu-wc-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.smu-wc-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.82rem;
    color: #1D1D1C;
    cursor: pointer;
    text-decoration: underline;
}

.smu-wc-link:hover {
    color: #1D1D1C;
}

.smu-wc-link--danger {
    color: #b32d2e;
}

.smu-wc-link--danger:hover {
    color: #8a2424;
}

.smu-wc-inline-form {
    display: inline;
    margin: 0;
}

.smu-wc-action-sep {
    color: #c3c4c7;
    user-select: none;
    font-size: 0.82rem;
}

.smu-wc-edit-cell {
    background: #f6f7f7;
    padding: 0 !important;
    border-bottom: 1px solid #c3c4c7 !important;
}

.smu-wc-quick-edit {
    padding: 1rem 1.1rem;
}

.smu-wc-quick-head {
    margin-bottom: 0.75rem;
}

.smu-wc-quick-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #50575e;
}

.smu-wc-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.smu-wc-quick-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.smu-wc-btn-primary {
    margin-top: 0 !important;
}

.smu-wc-btn-cancel {
    margin-top: 0 !important;
    background: #f6f7f7 !important;
    color: #2c3338 !important;
    border: 1px solid #c3c4c7 !important;
}

.smu-wc-quick-edit--status-only {
    padding: 0.85rem 1rem;
}

.smu-wc-quick-inline-status {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}

.smu-wc-status-field {
    flex: 1;
    min-width: 220px;
    max-width: 28rem;
}

.smu-wc-quick-actions--inline {
    margin-top: 0 !important;
    padding-bottom: 0.15rem;
}

@media (max-width: 900px) {
    .smu-wc-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smu-order-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .smu-wc-quick-grid {
        grid-template-columns: 1fr;
    }

    .smu-order-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* Blocs & pages style WP (titres, connexion, landing)                         */
/* -------------------------------------------------------------------------- */

.smu-wp-heading {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.4;
}

.smu-wp-subheading {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: var(--smu-muted);
    line-height: 1.45;
}

.smu-wp-back-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--wp-blue);
    text-decoration: none;
}

.smu-wp-back-link:hover {
    color: var(--wp-blue-hover);
    text-decoration: underline;
}

body.smu-wp-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--wp-body-bg);
}

body.smu-wp-login-page .smu-shell {
    width: 100%;
}

body.smu-wp-login-page .smu-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.smu-wp-login-page .smu-logo {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1d2327;
}

.smu-wp-form-label span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1d2327;
}

.smu-wp-form-label input,
.smu-wp-form-label select,
.smu-wp-form-label textarea {
    width: 100%;
    border: 1px solid var(--smu-border);
    border-radius: 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    font-family: inherit;
}

.smu-wp-notice {
    border-radius: 0;
    padding: 0.6rem 0.75rem;
    font-size: 0.8125rem;
    border-left: 4px solid;
}

.smu-wp-notice--success {
    background: #edfaef;
    border-color: #00a32a;
    color: #1e4620;
}

.smu-wp-notice--error {
    background: #fcf0f1;
    border-color: #d63638;
    color: #50575e;
}

.smu-wp-notice a {
    color: var(--wp-blue);
}

/* Landing publique : fond neutre, cartes type meta box */
.smu-wp-landing .smu-shell {
    max-width: 1140px;
}

.smu-wp-landing .smu-card:not(.smu-hero) {
    border-radius: 0;
}

.smu-wp-landing .smu-hero {
    border-radius: 0;
    border: 1px solid var(--smu-border);
    background: linear-gradient(145deg, #1d2327 0%, #2c3338 55%, #3c434a 100%);
}

.smu-wp-landing .smu-badge {
    border-radius: 3px;
    border-color: var(--smu-border);
    color: var(--wp-blue);
    background: #fff;
}

.smu-wp-landing .smu-badge:hover {
    background: #f0f6fc;
    border-color: var(--wp-blue);
}

.smu-wp-landing .smu-stats {
    border: 1px solid var(--smu-border);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.smu-wc-order-actions-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
}

.smu-order-row-links {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.smu-order-inline-panel {
    padding: 0.85rem 1rem;
}

.smu-order-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.smu-order-quick-item {
    min-width: 0;
}

.smu-order-quick-item strong {
    display: block;
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 0.25rem;
}

.smu-order-quick-item span {
    display: block;
    font-size: 0.87rem;
    color: #2c3338;
    line-height: 1.4;
    word-break: break-word;
}

.smu-order-quick-item--full {
    grid-column: 1 / -1;
}

.smu-order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.smu-order-edit-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.smu-order-edit-submit {
    margin-top: 0 !important;
}

.smu-order-edit-cancel {
    font-size: 0.8125rem;
}

.smu-order-edit-form .smu-field {
    margin: 0;
}

.smu-btn--no-margin {
    margin-top: 0 !important;
}

/* Commandes : formulaire statut dans la ligne */
.smu-wc-order-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin: 0;
}

.smu-wc-order-select {
    max-width: 11rem;
    border: 1px solid var(--smu-border);
    border-radius: 0;
    padding: 0.28rem 0.4rem;
    font-size: 0.8125rem;
    font-family: inherit;
    background: #fff;
}

.smu-wc-order-btn {
    margin-top: 0 !important;
    padding: 0.28rem 0.55rem !important;
    font-size: 0.75rem !important;
}

.smu-wc-status-label {
    font-size: 0.8125rem;
    color: #50575e;
}

/* Liste type WP (categories, plugins…) */
.smu-wp-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f0f1;
}

.smu-wp-list-row:last-child {
    border-bottom: none;
}

.smu-cat-add-form {
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.smu-cat-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 0;
    border: 1px solid var(--smu-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.smu-cat-icon-plus {
    font-size: 1.35rem;
    color: var(--smu-muted);
    line-height: 1;
}

.smu-cat-add-submit {
    margin-top: 0 !important;
}

.smu-cat-row-form {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 220px;
    flex-wrap: wrap;
}

.smu-cat-thumb-wrap {
    width: 46px;
    height: 46px;
    border: 1px solid var(--smu-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.smu-cat-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smu-cat-thumb-placeholder {
    font-size: 1.15rem;
    color: var(--smu-muted);
}

.smu-cat-name-input {
    border: 1px solid var(--smu-border);
    border-radius: 0;
    padding: 0.45rem 0.6rem;
    font-size: 0.875rem;
    min-width: 160px;
}

.smu-cat-name-input--grow {
    flex: 1;
    min-width: 200px;
}

.smu-cat-delete-form {
    margin: 0;
}

.smu-wc-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.25rem;
    background: #f6f7f7;
}
