.my-products-offcanvas .offcanvas-body {
    display: flex;
    min-height: 100%;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 14px;
}

.upload-preview-wrap {
    position: relative;
    display: inline-flex;
    width: 84px;
    height: 84px;
}

.upload-preview-wrap[hidden] {
    display: none;
}

.upload-preview-wrap .upload-preview {
    width: 100%;
    height: 100%;
}

.upload-clear {
    position: absolute;
    top: -9px;
    right: -9px;
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: #111827;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.upload-clear:hover,
.upload-clear:focus-visible {
    background: #dc2626;
    outline: none;
}

.my-product-list {
    display: grid;
    flex: 0 0 auto;
    gap: 12px;
    align-content: start;
}

.my-product-row.is-detailed {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    min-height: 96px;
    padding: 12px;
    border-color: #dbe4f0;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.my-product-thumb {
    width: 88px;
    height: 66px;
    overflow: hidden;
    border: 1px solid var(--prl-line-soft);
    border-radius: 6px;
    background: #f8fafc;
}

.my-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.my-product-thumb-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.my-product-main {
    display: grid;
    gap: 10px;
    align-content: center;
    min-width: 0;
}

.my-product-title {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}

.my-product-meta-row {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.my-product-category {
    display: inline-flex;
    min-width: 0;
    max-width: 38%;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-product-row .status-pill {
    display: inline-flex;
    flex: 0 0 auto;
}

.btn-edit-product,
.btn-profile-back,
.btn-profile-secondary {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--prl-line);
    border-radius: 6px;
    color: #111827;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.btn-edit-product:hover,
.btn-profile-back:hover,
.btn-profile-secondary:hover {
    border-color: #111827;
    color: #ffffff;
    background: #111827;
}

.btn-edit-product {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 48px;
    min-height: 26px;
    padding: 0 10px;
    font-size: 12px;
}

.my-product-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    padding-top: 4px;
}

.my-product-page {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--prl-line);
    border-radius: 6px;
    color: #475569;
    background: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.my-product-page:hover,
.my-product-page.is-active {
    border-color: #111827;
    color: #ffffff;
    background: #111827;
}

.profile-page-main {
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px;
}

.profile-workspace-main {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.profile-plugin-surface {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto;
}

.profile-plugin-surface #wjs-dashboard-container {
    max-width: none !important;
}

.profile-plugin-surface #wjs-dashboard-header {
    position: relative;
    padding-right: 156px !important;
}

.profile-return-link {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 6;
    min-height: 38px;
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.profile-plugin-surface #wjs-dashboard-header .profile-return-link {
    top: 17px;
    right: 22px;
}

.profile-plugin-surface #wjs-auth-status:not(.is-prl-status-message) {
    display: none !important;
}

.profile-plugin-surface #wjs-auth-status.is-prl-status-message {
    display: block !important;
    width: min(430px, 100%);
    margin: 0 auto 16px;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    background: #fff7ed;
    font-size: 14px;
    font-weight: 700;
}

.profile-denied-panel {
    display: grid;
    width: min(560px, 100%);
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--prl-line);
    border-radius: var(--prl-radius);
    background: #ffffff;
    box-shadow: var(--prl-shadow);
}

.profile-denied-panel h1,
.profile-denied-panel p {
    margin: 0;
}

.profile-denied-panel h1 {
    color: #111827;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

.profile-denied-panel p:not(.access-kicker) {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.profile-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--prl-radius);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.profile-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #ffffff;
    background: linear-gradient(90deg, #12bfa6, #a8d90a);
}

.profile-heading .access-kicker {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.profile-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.profile-notice {
    margin: 18px 22px 0;
}

.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--prl-line-soft);
}

.profile-tab {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--prl-line);
    border-radius: 6px;
    color: #475569;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.profile-tab:hover,
.profile-tab.is-active {
    border-color: #111827;
    color: #ffffff;
    background: #111827;
}

.profile-form {
    display: grid;
    gap: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #fbfdff, #ffffff);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--prl-radius);
    background: linear-gradient(180deg, #ffffff, #fdfefe);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.profile-field {
    display: grid;
    gap: 7px;
}

.profile-field label {
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.profile-field .form-control {
    min-height: 40px;
    padding: 7px 11px;
    border-color: #d7dce5;
    border-radius: 6px;
    color: #020617;
    font-size: 14px;
    font-weight: 500;
}

.profile-field .form-control:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.profile-field .form-control:disabled {
    color: #020617;
    background: #f1f5f9;
    opacity: 1;
}

.profile-password-fields {
    display: grid;
    gap: 14px;
}

.profile-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.profile-actions .btn {
    min-height: 40px;
    height: 40px;
    padding-inline: 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
}

.profile-modal-actions {
    gap: 10px;
}

.profile-modal-actions .btn {
    min-height: 40px;
    height: 40px;
    padding-inline: 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
}

.profile-plugin-surface #wjs-dashboard-container > p,
.profile-plugin-surface p:empty {
    display: none;
}

.profile-plugin-empty {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.profile-plugin-empty h2,
.profile-plugin-empty p {
    margin: 0;
}

.profile-plugin-empty h2 {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.profile-plugin-empty p {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.standard-page-main {
    min-height: 100vh;
    padding: 24px;
}

@media (max-width: 575.98px) {
    .my-product-row.is-detailed {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .my-product-thumb {
        width: 72px;
        height: 54px;
    }

    .my-product-category {
        max-width: 100%;
    }

    .my-product-meta-row {
        flex-wrap: wrap;
    }

    .profile-page-main,
    .profile-workspace-main {
        padding-inline: 12px;
        overflow-x: hidden;
    }

    .profile-workspace-main {
        display: block;
        min-height: auto;
        padding-top: 18px;
    }

    .profile-panel {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 0;
    }

    .profile-plugin-surface {
        width: 100%;
        overflow: hidden;
    }

    .profile-plugin-surface #wjs-dashboard-container {
        width: 100% !important;
        overflow: hidden;
    }

    .profile-plugin-surface .wjs-auth-card {
        width: calc(100vw - 96px) !important;
        max-width: calc(100vw - 96px);
        padding: 24px 18px !important;
    }

    .profile-plugin-surface #wjs-dashboard-header {
        padding-right: 22px !important;
        padding-bottom: 72px !important;
    }

    .profile-return-link {
        position: static;
        width: max-content;
        margin-bottom: 12px;
    }

    .profile-denied-panel {
        width: 100%;
        padding: 20px;
    }

    .profile-heading,
    .profile-grid,
    .profile-actions {
        display: grid;
    }

    .profile-heading {
        padding: 18px;
    }

    .profile-form {
        padding: 18px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .standard-page-main {
        padding: 12px;
    }
}
