/* Customer account overview */
.profile__area:has(.tmkp-account) {
    background: var(--theme-bg);
}

.profile__tab-content:has(.tmkp-account) {
    background: transparent;
    box-shadow: none;
    padding: 8px 0 0;
}

.tmkp-account {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--theme-text);
}

.tmkp-account h1,
.tmkp-account h2,
.tmkp-account h3,
.tmkp-account p {
    margin: 0;
}

.tmkp-account a {
    text-decoration: none;
}

.tmkp-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(81, 66, 252, 0.22);
}

.tmkp-notice strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.tmkp-notice p {
    color: var(--theme-muted);
    font-size: 14px;
}

.tmkp-notice > a {
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.tmkp-hero,
.tmkp-stat,
.tmkp-panel {
    background: var(--theme-card);
    border: 1px solid var(--theme-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.tmkp-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(90% 140% at 100% 0%, rgba(81, 66, 252, 0.22), transparent 58%),
        var(--theme-card);
}

.tmkp-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.tmkp-account .tmkp-avatar {
    width: 84px;
    height: 84px;
}

.tmkp-account .tmkp-avatar img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 4px rgba(81, 66, 252, 0.18);
}

.tmkp-account .bb-customer-profile-avatar-overlay label {
    background: var(--accent);
    border-color: var(--theme-card);
    width: 28px;
    height: 28px;
    bottom: 0;
    inset-inline-end: -2px;
}

.tmkp-kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tmkp-identity-copy h1 {
    font-size: clamp(1.6rem, 2vw, 2.05rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--theme-text);
}

.tmkp-identity-copy h1 span {
    font-weight: 700;
}

.tmkp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 8px;
    color: var(--theme-muted);
    font-size: 14px;
}

.tmkp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.tmkp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.tmkp-btn svg {
    width: 16px;
    height: 16px;
}

.tmkp-btn-primary {
    background: var(--accent-gradient);
    color: #fff !important;
}

.tmkp-btn-primary:hover,
.tmkp-btn-primary:focus {
    color: #fff !important;
    transform: translateY(-1px);
}

.tmkp-btn-ghost {
    background: transparent;
    color: var(--theme-text) !important;
    border-color: var(--theme-border);
}

.tmkp-btn-ghost:hover,
.tmkp-btn-ghost:focus {
    color: var(--theme-text) !important;
    border-color: rgba(81, 66, 252, 0.45);
    background: var(--accent-soft);
}

.tmkp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tmkp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.tmkp-stat:hover,
.tmkp-stat:focus {
    border-color: rgba(81, 66, 252, 0.45);
    transform: translateY(-1px);
}

.tmkp-stat-value {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--theme-text);
}

.tmkp-stat-label {
    color: var(--theme-muted);
    font-size: 13px;
}

.tmkp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.tmkp-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tmkp-panel {
    border-radius: 20px;
    padding: 8px 8px 8px;
}

.tmkp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 10px;
}

.tmkp-panel-head h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--theme-text);
}

.tmkp-panel-head a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.tmkp-orders {
    display: flex;
    flex-direction: column;
}

.tmkp-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 14px;
    color: inherit;
}

.tmkp-order + .tmkp-order {
    box-shadow: inset 0 1px 0 var(--theme-border);
}

.tmkp-order:hover,
.tmkp-order:focus {
    background: var(--accent-soft);
}

.tmkp-order-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tmkp-order-main strong,
.tmkp-order-side > strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-text);
}

.tmkp-order-main span {
    color: var(--theme-muted);
    font-size: 13px;
}

.tmkp-order-side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tmkp-status,
.tmkp-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: var(--theme-surface-alt);
    color: var(--theme-muted);
}

.tmkp-status.is-pending {
    color: #b45309;
    background: rgba(245, 158, 11, 0.16);
}

.tmkp-status.is-processing {
    color: #4338ca;
    background: rgba(81, 66, 252, 0.14);
}

.tmkp-status.is-completed {
    color: #047857;
    background: rgba(16, 185, 129, 0.16);
}

.tmkp-status.is-canceled,
.tmkp-status.is-returned,
.tmkp-status.is-partial_returned {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.14);
}

.is_dark .tmkp-status.is-pending,
body.is_dark .tmkp-status.is-pending,
[data-theme="dark"] .tmkp-status.is-pending {
    color: #fcd34d;
}

.is_dark .tmkp-status.is-processing,
body.is_dark .tmkp-status.is-processing,
[data-theme="dark"] .tmkp-status.is-processing {
    color: #c4b5fd;
}

.is_dark .tmkp-status.is-completed,
body.is_dark .tmkp-status.is-completed,
[data-theme="dark"] .tmkp-status.is-completed {
    color: #6ee7b7;
}

.is_dark .tmkp-status.is-canceled,
.is_dark .tmkp-status.is-returned,
.is_dark .tmkp-status.is-partial_returned,
body.is_dark .tmkp-status.is-canceled,
body.is_dark .tmkp-status.is-returned,
body.is_dark .tmkp-status.is-partial_returned,
[data-theme="dark"] .tmkp-status.is-canceled,
[data-theme="dark"] .tmkp-status.is-returned,
[data-theme="dark"] .tmkp-status.is-partial_returned {
    color: #fca5a5;
}

.tmkp-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 16px 18px;
}

.tmkp-empty-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 4px;
}

.tmkp-empty-mark svg {
    width: 22px;
    height: 22px;
}

.tmkp-empty h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text);
}

.tmkp-empty p {
    color: var(--theme-muted);
    font-size: 14px;
    line-height: 1.5;
    max-width: 36ch;
    margin-bottom: 6px;
}

.tmkp-empty-compact {
    padding-top: 8px;
}

.tmkp-address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 4px 14px 16px;
}

.tmkp-address strong {
    font-size: 15px;
}

.tmkp-address p {
    flex-basis: 100%;
    color: var(--theme-muted);
    font-size: 14px;
    line-height: 1.45;
}

.tmkp-menu {
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.tmkp-menu > a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    padding: 11px 10px;
    border-radius: 14px;
    color: inherit;
}

.tmkp-menu > a:hover,
.tmkp-menu > a:focus {
    background: var(--accent-soft);
}

.tmkp-menu-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--theme-surface-alt);
    color: var(--accent);
}

.tmkp-menu-icon svg,
.tmkp-menu .tmkp-chevron,
.tmkp-menu .tmkp-chevron svg {
    width: 18px;
    height: 18px;
}

.tmkp-menu-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tmkp-menu-copy strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text);
}

.tmkp-menu-copy span {
    color: var(--theme-muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.tmkp-menu .tmkp-chevron {
    color: var(--theme-muted);
}

[dir="rtl"] .tmkp-menu .tmkp-chevron {
    transform: scaleX(-1);
}

@media (max-width: 991px) {
    .tmkp-hero,
    .tmkp-notice {
        flex-direction: column;
        align-items: flex-start;
    }

    .tmkp-hero-actions,
    .tmkp-notice > a {
        width: 100%;
    }

    .tmkp-hero-actions .tmkp-btn,
    .tmkp-notice > a {
        justify-content: center;
    }

    .tmkp-layout,
    .tmkp-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tmkp-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tmkp-hero {
        padding: 20px;
    }

    .tmkp-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tmkp-order {
        align-items: flex-start;
        flex-direction: column;
    }

    .tmkp-order-side {
        width: 100%;
        justify-content: space-between;
    }
}

/* Customer edit account */
.tmkp-settings-hero {
    padding: 22px 24px;
}

.tmkp-settings-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.tmkp-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 2px;
    color: var(--theme-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.tmkp-crumb a,
.tmkp-crumb span {
    color: var(--theme-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.tmkp-crumb a:hover,
.tmkp-crumb a:focus {
    color: var(--accent);
}

.tmkp-crumb [aria-current="page"] {
    color: var(--theme-text);
}

.tmkp-back {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.tmkp-back:hover,
.tmkp-back:focus {
    color: var(--accent);
}

.tmkp-settings-intro h1 {
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--theme-text);
}

.tmkp-settings-nav {
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--theme-card);
    border: 1px solid var(--theme-border);
}

.tmkp-settings-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--theme-muted);
    font-size: 14px;
    font-weight: 600;
}

.tmkp-settings-nav a.is-active {
    background: var(--accent-gradient);
    color: #fff;
}

.tmkp-settings-nav a:hover,
.tmkp-settings-nav a:focus {
    color: var(--theme-text);
}

.tmkp-settings-nav a.is-active:hover,
.tmkp-settings-nav a.is-active:focus {
    color: #fff;
}

.tmkp-settings-layout {
    align-items: start;
}

.tmkp-form-panel form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    padding: 4px 14px 18px;
}

.tmkp-form-panel form > .mb-3:last-child,
.tmkp-form-panel form > .alert {
    grid-column: 1 / -1;
}

.tmkp-settings .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--theme-text);
    font-size: 13px;
    font-weight: 600;
}

.tmkp-settings .form-control,
.tmkp-settings input.form-control,
.tmkp-settings textarea.form-control {
    width: 100%;
    background: var(--theme-bg);
    border: 1px solid var(--theme-border);
    border-radius: 14px;
    color: var(--theme-text);
    min-height: 48px;
    padding: 10px 14px;
    box-shadow: none;
}

.tmkp-settings textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.tmkp-settings .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background: var(--theme-bg);
    color: var(--theme-text);
    outline: none;
}

.tmkp-settings .form-control:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tmkp-settings .invalid-feedback,
.tmkp-settings .help-block {
    display: block;
    margin-top: 6px;
    color: #fca5a5;
    font-size: 12px;
}

.tmkp-settings .btn-primary,
.tmkp-settings button[type="submit"].btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #fff !important;
    font-weight: 600;
    box-shadow: none;
}

.tmkp-settings .btn-primary:hover,
.tmkp-settings .btn-primary:focus,
.tmkp-settings button[type="submit"].btn:hover,
.tmkp-settings button[type="submit"].btn:focus {
    color: #fff !important;
    background: var(--accent-gradient);
}

.tmkp-note {
    padding: 18px 18px 16px;
}

.tmkp-note h2,
.tmkp-danger h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 8px;
}

.tmkp-note p,
.tmkp-danger p {
    color: var(--theme-muted);
    font-size: 14px;
    line-height: 1.5;
}

.tmkp-note p + p {
    margin-top: 8px;
}

.tmkp-note a {
    display: inline-flex;
    margin-top: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
}

.tmkp-danger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-color: rgba(239, 68, 68, 0.35);
}

.tmkp-danger p {
    max-width: 62ch;
}

.tmkp-btn-danger {
    background: transparent;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.45);
    flex-shrink: 0;
}

.tmkp-btn-danger:hover,
.tmkp-btn-danger:focus {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca !important;
}

.tmkp-btn-block {
    width: 100%;
}

.tmkp-settings .modal-content {
    background: var(--theme-card);
    color: var(--theme-text);
    border: 1px solid var(--theme-border);
    border-radius: 18px;
}

.tmkp-settings .modal-header {
    border-bottom: 1px solid var(--theme-border);
}

.tmkp-settings .modal-title {
    color: var(--theme-text);
    font-size: 16px;
    font-weight: 700;
}

.tmkp-settings .modal-body p {
    margin-bottom: 16px;
}

.is_dark .tmkp-settings .btn-close,
body.is_dark .tmkp-settings .btn-close,
[data-theme="dark"] .tmkp-settings .btn-close {
    filter: invert(1);
}

body:has(.tmkp-settings) .datepicker {
    background: var(--theme-card);
    color: var(--theme-text);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
}

body:has(.tmkp-settings) .datepicker table tr td,
body:has(.tmkp-settings) .datepicker table tr th {
    color: var(--theme-text);
}

body:has(.tmkp-settings) .datepicker table tr td.active,
body:has(.tmkp-settings) .datepicker table tr td.active:hover {
    background: var(--accent) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .tmkp-form-panel form,
    .tmkp-danger {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .tmkp-form-panel form {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .tmkp-settings-nav {
        width: 100%;
    }

    .tmkp-settings-nav a {
        flex: 1;
    }
}

.profile__tab-content > nav:not(:has(a)) {
    display: none;
}

.tmkp-form-stack form {
    grid-template-columns: minmax(0, 520px);
}

.tmkp-form-stack form > .btn,
.tmkp-form-stack form > button {
    justify-self: start;
}

.tmkp-settings .input-group {
    position: relative;
    display: block;
    width: 100%;
}

.tmkp-settings .input-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    left: auto;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    color: var(--theme-muted);
    z-index: 3;
}

[dir="rtl"] .tmkp-settings .input-password-toggle {
    right: auto;
    left: 8px;
}

.tmkp-settings .input-password-toggle svg {
    width: 18px;
    height: 18px;
}

.tmkp-settings input[data-bb-password] {
    padding-inline-end: 46px;
}

.tmkp-order-page .tmkp-meta {
    align-items: center;
}

.tmkp-order-facts:empty {
    display: none;
}

.tmkp-order-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tmkp-fact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--theme-card);
    border: 1px solid var(--theme-border);
}

.tmkp-fact span {
    color: var(--theme-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tmkp-fact strong {
    color: var(--theme-text);
    font-size: 15px;
    font-weight: 700;
}

.tmkp-order-items {
    display: flex;
    flex-direction: column;
}

.tmkp-order-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
}

.tmkp-order-item + .tmkp-order-item {
    box-shadow: inset 0 1px 0 var(--theme-border);
}

.tmkp-order-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--theme-bg);
}

.tmkp-order-item-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tmkp-order-item-copy a,
.tmkp-order-item-copy strong {
    color: var(--theme-text);
    font-size: 15px;
    font-weight: 700;
}

.tmkp-order-item-copy a:hover {
    color: var(--accent);
}

.tmkp-order-item-copy p,
.tmkp-order-sku {
    color: var(--theme-muted);
    font-size: 13px;
}

.tmkp-order-item-copy p a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.tmkp-order-item-price {
    text-align: end;
}

.tmkp-order-item-price strong {
    display: block;
    color: var(--theme-text);
    font-size: 15px;
}

.tmkp-order-item-price span {
    color: var(--theme-muted);
    font-size: 12px;
}

.tmkp-totals {
    margin: 0;
    padding: 8px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tmkp-totals div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--theme-muted);
    font-size: 14px;
}

.tmkp-totals dt,
.tmkp-totals dd {
    margin: 0;
}

.tmkp-totals dt span {
    display: block;
    font-size: 12px;
}

.tmkp-totals .is-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--theme-border);
    color: var(--theme-text);
    font-size: 16px;
    font-weight: 700;
}

.tmkp-note p span {
    display: block;
    color: var(--theme-muted);
    font-size: 12px;
    font-weight: 600;
}

.tmkp-note p strong {
    color: var(--theme-text);
}

.tmkp-proof {
    padding: 18px 20px 16px;
}

.tmkp-proof h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 8px;
}

.tmkp-proof p {
    color: var(--theme-muted);
    font-size: 14px;
    line-height: 1.5;
}

.tmkp-proof p + p {
    margin-top: 6px;
}

.tmkp-proof a {
    color: var(--accent);
    font-weight: 600;
}

.tmkp-proof-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.tmkp-proof-row .form-control {
    flex: 1;
}

.tmkp-proof-hint {
    margin-top: 8px;
    font-size: 12px;
}

.tmkp-settings .form-select,
.tmkp-settings select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--theme-border);
    background: var(--theme-bg);
    color: var(--theme-text);
}

.tmkp-modal-actions,
.tmkp-order-page .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border: 0;
}

@media (max-width: 991px) {
    .tmkp-order-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tmkp-order-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .tmkp-order-item-price {
        grid-column: 2;
        text-align: start;
    }

    .tmkp-proof-row,
    .tmkp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.tmkp-orders-pages {
    padding: 8px 14px 16px;
}

.tmkp-orders-pages .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tmkp-orders-pages .page-link {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--theme-border);
    background: transparent;
    color: var(--theme-text);
    font-size: 13px;
    font-weight: 600;
}

.tmkp-orders-pages .page-item.active .page-link,
.tmkp-orders-pages .page-link:hover {
    background: var(--accent);
    border-color: transparent;
    color: #fff;
}

.tmkp-orders-pages .page-item.disabled .page-link {
    opacity: 0.4;
}

.tmkp-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tmkp-address-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 14px;
}

.tmkp-address-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.tmkp-address-card h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text);
}

.tmkp-address-card p {
    color: var(--theme-muted);
    font-size: 14px;
    line-height: 1.45;
}

.tmkp-address-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.tmkp-address-actions a,
.tmkp-address-actions button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.tmkp-address-actions button {
    color: #fca5a5;
}

.tmkp-address-actions form {
    margin: 0;
}

@media (max-width: 767px) {
    .tmkp-address-grid {
        grid-template-columns: 1fr;
    }
}

.tmkp-address-form form {
    padding: 8px 18px 20px;
}

.tmkp-address-form .row {
    --bs-gutter-y: 1rem;
}

.tmkp-address-form .form-check-label {
    color: var(--theme-text);
}

.tmkp-address-form .form-check-input {
    margin-top: 0.2rem;
}

.tmkp-review-tabs {
    width: fit-content;
}

.tmkp-review-tabs .nav-link {
    border: 0;
    background: transparent;
    color: var(--theme-muted);
}

.tmkp-review-tabs .nav-link.active {
    background: var(--accent-gradient);
    color: #fff;
}

.tmkp-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tmkp-review-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
}

.tmkp-review-card img,
.tmkp-review-card .ecommerce-product-image {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--theme-bg);
}

.tmkp-review-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tmkp-review-copy h2,
.tmkp-review-copy .ecommerce-product-name {
    margin: 0;
    color: var(--theme-text);
    font-size: 15px;
    font-weight: 700;
}

.tmkp-review-copy p,
.tmkp-review-meta {
    margin: 0;
    color: var(--theme-muted);
    font-size: 13px;
    line-height: 1.45;
}

.tmkp-review-copy a {
    color: var(--accent);
    font-weight: 600;
}

.tmkp-reviews .ecommerce-product-star {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: auto;
    gap: 2px;
    margin-top: 6px;
}

.tmkp-reviews .ecommerce-product-star > label {
    float: none;
    margin: 0;
    color: #f5b942;
    cursor: pointer;
}

.tmkp-reviews .ecommerce-product-star .ecommerce-icon svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
}

.tmkp-review-delete {
    align-self: flex-start;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.tmkp-reviews .modal-content {
    background: var(--theme-card);
    color: var(--theme-text);
    border: 1px solid var(--theme-border);
    border-radius: 18px;
}

.tmkp-wishlist {
    background: var(--theme-bg);
    padding-top: 48px;
}

.tmkp-wish-table {
    width: 100%;
    margin: 0 0 12px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--theme-card);
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    overflow: hidden;
}

.tmkp-wish-table td {
    border: 0;
    background: transparent;
    color: var(--theme-text);
    vertical-align: middle;
    padding: 14px 12px;
}

.tmkp-wish-img {
    width: 96px;
}

.tmkp-wish-img img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--theme-bg);
}

.tmkp-wish-info a {
    color: var(--theme-text);
    font-size: 15px;
    font-weight: 700;
}

.tmkp-wish-info p {
    margin: 4px 0 0;
    color: var(--theme-muted);
    font-size: 13px;
}

.tmkp-wish-info p a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.tmkp-wish-price {
    white-space: nowrap;
    font-weight: 700;
}

.tmkp-wishlist .tp-product-quantity {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 40px;
    margin: 0;
    padding: 0 4px;
    border: 1px solid var(--theme-border);
    border-radius: 999px;
    background: var(--theme-bg);
    position: relative;
}

.tmkp-wishlist .tp-cart-minus,
.tmkp-wishlist .tp-cart-plus,
.tmkp-wishlist .tp-cart-plus.tp-cart-plus,
.tmkp-wishlist .tp-cart-minus.tp-cart-plus {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--theme-text);
    flex: 0 0 32px;
}

.tmkp-wishlist .tp-cart-minus svg,
.tmkp-wishlist .tp-cart-plus svg {
    transform: none;
}

.tmkp-wishlist .tp-cart-input,
.tmkp-wishlist .tp-cart-input[type="number"],
.is_dark .tmkp-wishlist .tp-cart-input,
body.is_dark .tmkp-wishlist .tp-cart-input,
[data-theme="dark"] .tmkp-wishlist .tp-cart-input {
    width: 36px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: var(--theme-text) !important;
    text-align: center;
    font-weight: 600;
}

.tmkp-wish-remove button {
    border: 0;
    background: none;
    padding: 0;
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 767px) {
    .tmkp-wish-table,
    .tmkp-wish-table tbody,
    .tmkp-wish-table tr,
    .tmkp-wish-table td {
        display: block;
        width: 100%;
    }

    .tmkp-wish-img {
        width: auto;
    }

    .tmkp-wish-cart .tmkp-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .tmkp-review-grid,
    .tmkp-review-tabs {
        width: 100%;
        grid-template-columns: 1fr;
    }
}
