/*
 * #0189.1 — Contract, baseline and shared shell.
 *
 * This stylesheet is conditionally loaded and every production selector is
 * rooted in .kimora-customer-ui. Later #0189 slices extend these primitives
 * without changing WooCommerce, Forminator or Kimora plugin business logic.
 */

body.kimora-customer-ui {
    --km-customer-canvas: #f7fafc;
    --km-customer-surface: var(--km-white);
    --km-customer-surface-muted: #f8fafc;
    --km-customer-border: #dbe5ec;
    --km-customer-border-strong: #c7d6e0;
    --km-customer-ink: var(--km-dark);
    --km-customer-text: var(--km-text);
    --km-customer-muted: var(--km-muted);
    --km-customer-danger: #b42318;
    --km-customer-danger-surface: #fff1f0;
    --km-customer-warning: #9a6700;
    --km-customer-warning-surface: #fff8e6;
    --km-customer-info-surface: #eef9fb;
    --km-customer-success-surface: #ecfdf3;
    --km-customer-radius: var(--km-radius);
    --km-customer-radius-sm: var(--km-radius-sm);
    --km-customer-shadow: 0 20px 55px rgba(15, 23, 42, .07);
    color: var(--km-customer-text);
    background: var(--km-customer-canvas);
}

body.kimora-customer-ui .site-main:not(.home-main) {
    min-width: 0;
    padding: 64px 0 88px;
    background:
        radial-gradient(circle at 88% 2%, rgba(15, 143, 168, .08), transparent 28rem),
        linear-gradient(180deg, #fbfdfe 0, var(--km-customer-canvas) 100%);
}

body.kimora-customer-ui .content-container--narrow,
body.kimora-customer-ui .woo-container {
    width: min(calc(100% - 40px), var(--km-container));
    max-width: var(--km-container);
}

body.kimora-customer-ui .site-main article,
body.kimora-customer-ui .entry-content,
body.kimora-customer-ui .entry-content > .woocommerce,
body.kimora-customer-ui .entry-content > .wp-block-woocommerce-cart,
body.kimora-customer-ui .entry-content > .wp-block-woocommerce-checkout {
    min-width: 0;
}

body.kimora-customer-ui .page-header {
    max-width: 48rem;
    margin: 0 0 38px;
}

body.kimora-customer-ui .page-header h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

body.kimora-customer-ui .entry-content {
    font-size: 1rem;
    line-height: 1.65;
}

body.kimora-customer-ui .entry-content a:not(.button):not(.wp-element-button):not(.wc-block-components-button) {
    color: var(--km-primary-dark);
    text-decoration-color: rgba(8, 117, 138, .4);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

body.kimora-customer-ui .entry-content a:not(.button):not(.wp-element-button):not(.wc-block-components-button):hover {
    color: var(--km-action-hover);
    text-decoration-color: currentColor;
}

/* Shared surface primitives. */
body.kimora-customer-ui :where(.km-customer-card, .km-customer-panel) {
    min-width: 0;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-surface);
}

body.kimora-customer-ui .km-customer-card {
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--km-customer-shadow);
}

body.kimora-customer-ui .km-customer-panel {
    padding: clamp(18px, 2.5vw, 26px);
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-ui :where(.km-customer-card, .km-customer-panel) > :first-child {
    margin-top: 0;
}

body.kimora-customer-ui :where(.km-customer-card, .km-customer-panel) > :last-child {
    margin-bottom: 0;
}

/* Notices remain owner-rendered; the theme supplies only presentation. */
body.kimora-customer-ui :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    clear: both;
    margin: 0 0 24px;
    padding: 16px 18px 16px 52px;
    border: 1px solid var(--km-customer-border);
    border-top-width: 1px;
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-customer-ink);
    background: var(--km-customer-surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

body.kimora-customer-ui .woocommerce-message {
    border-color: #b7e4c7;
    background: var(--km-customer-success-surface);
}

body.kimora-customer-ui .woocommerce-info {
    border-color: #bce4eb;
    background: var(--km-customer-info-surface);
}

body.kimora-customer-ui .woocommerce-error {
    border-color: #f3b6b2;
    background: var(--km-customer-danger-surface);
}

body.kimora-customer-ui .woocommerce-message::before,
body.kimora-customer-ui .woocommerce-info::before {
    top: 16px;
    left: 18px;
    color: var(--km-primary-dark);
}

body.kimora-customer-ui .woocommerce-error::before {
    top: 16px;
    left: 18px;
    color: var(--km-customer-danger);
}

body.kimora-customer-ui :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) a {
    font-weight: 750;
}

/* Shared button primitive across classic Woo, Blocks and Forminator. */
body.kimora-customer-ui :where(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .wc-block-components-button:not(.is-link),
    .wp-element-button,
    .forminator-ui .forminator-button-submit
) {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid var(--km-action);
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-white) !important;
    background: var(--km-action) !important;
    box-shadow: 0 10px 26px rgba(8, 117, 138, .18);
    font: 750 .9rem/1.2 Inter, sans-serif;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.kimora-customer-ui :where(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .wc-block-components-button:not(.is-link),
    .wp-element-button,
    .forminator-ui .forminator-button-submit
):hover {
    border-color: var(--km-action-hover);
    color: var(--km-white) !important;
    background: var(--km-action-hover) !important;
    transform: translateY(-1px);
}

body.kimora-customer-ui :where(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .wc-block-components-button:not(.is-link),
    .wp-element-button,
    .forminator-ui .forminator-button-submit
):disabled,
body.kimora-customer-ui :where(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .wc-block-components-button:not(.is-link),
    .wp-element-button,
    .forminator-ui .forminator-button-submit
)[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
}

/* Shared form primitive. */
body.kimora-customer-ui :where(
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select,
    .wc-block-components-text-input input,
    .wc-block-components-textarea,
    .forminator-ui.forminator-custom-form .forminator-input,
    .forminator-ui.forminator-custom-form .forminator-textarea,
    .forminator-ui.forminator-custom-form .forminator-select
) {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--km-customer-border-strong);
    border-radius: var(--km-customer-radius-sm);
    outline: 0;
    color: var(--km-customer-ink);
    background: var(--km-customer-surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .02);
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.kimora-customer-ui :where(
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select,
    .wc-block-components-text-input input,
    .wc-block-components-textarea,
    .forminator-ui.forminator-custom-form .forminator-input,
    .forminator-ui.forminator-custom-form .forminator-textarea,
    .forminator-ui.forminator-custom-form .forminator-select
):focus {
    border-color: var(--km-action);
    box-shadow: 0 0 0 4px rgba(8, 117, 138, .12);
}

body.kimora-customer-ui :where(
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .wc-block-components-text-input input,
    .wc-block-components-textarea,
    .forminator-ui.forminator-custom-form .forminator-input,
    .forminator-ui.forminator-custom-form .forminator-textarea
)::placeholder {
    color: #8b9aab;
    opacity: 1;
}

body.kimora-customer-ui :where(
    .woocommerce form .form-row label,
    .forminator-ui.forminator-custom-form .forminator-label
) {
    color: var(--km-customer-text);
    font-size: .84rem;
    font-weight: 750;
}

body.kimora-customer-ui :where(.required, .forminator-required) {
    color: var(--km-customer-danger);
}

/* Shared classic WooCommerce table primitive. */
body.kimora-customer-ui .woocommerce table.shop_table {
    width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    border: 1px solid var(--km-customer-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-surface);
}

body.kimora-customer-ui .woocommerce table.shop_table th,
body.kimora-customer-ui .woocommerce table.shop_table td {
    min-width: 0;
    padding: 15px 16px;
    border: 0;
    border-bottom: 1px solid var(--km-customer-border);
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

body.kimora-customer-ui .woocommerce table.shop_table th {
    color: var(--km-customer-ink);
    background: var(--km-customer-surface-muted);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .015em;
}

body.kimora-customer-ui .woocommerce table.shop_table tr:last-child > * {
    border-bottom: 0;
}

body.kimora-customer-ui .woocommerce table.shop_table a {
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   #0189.2 — My Account navigation and dashboard
   --------------------------------------------------------- */
body.kimora-customer-ui--account.logged-in .entry-content > .woocommerce {
    display: grid;
    grid-template-columns: minmax(220px, 248px) minmax(0, 1fr);
    grid-template-areas:
        "notices notices"
        "navigation content";
    align-items: start;
    gap: 0 30px;
}

body.kimora-customer-ui--account.logged-in .entry-content > .woocommerce > .woocommerce-notices-wrapper {
    grid-area: notices;
    min-width: 0;
}

body.kimora-customer-ui--account.logged-in .entry-content > .woocommerce > .woocommerce-notices-wrapper:empty {
    display: none;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation {
    grid-area: navigation;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .055);
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation li::marker {
    content: "";
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #52647a;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation a:hover {
    border-color: #cce8ed;
    color: var(--km-primary-dark);
    background: #f1fafb;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation a:focus-visible {
    z-index: 1;
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 2px;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation :where(.is-active a, a[aria-current="page"]) {
    border-color: #acdce5;
    color: #075d70;
    background: #e8f7f9;
    box-shadow: inset 3px 0 0 var(--km-primary);
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation :where(.is-active a, a[aria-current="page"])::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--km-primary);
    content: "";
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 7px;
    padding-top: 8px;
    border-top: 1px solid var(--km-customer-border);
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #8f332d;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    border-color: #f1c7c3;
    color: var(--km-customer-danger);
    background: var(--km-customer-danger-surface);
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content {
    grid-area: content;
    float: none;
    width: auto;
    min-width: 0;
    min-height: 290px;
    margin: 0;
    padding: clamp(24px, 3.3vw, 38px);
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-surface);
    box-shadow: var(--km-customer-shadow);
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content > :first-child {
    margin-top: 0;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content > :last-child {
    margin-bottom: 0;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content :where(h2, h3) {
    color: var(--km-customer-ink);
    letter-spacing: -.025em;
}

body.kimora-customer-account--dashboard .woocommerce-MyAccount-content > p:first-of-type {
    margin: 0;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--km-customer-border);
    color: var(--km-customer-ink);
    font-size: clamp(1.12rem, 2.2vw, 1.4rem);
    line-height: 1.45;
}

body.kimora-customer-account--dashboard .woocommerce-MyAccount-content > p:first-of-type strong {
    color: var(--km-primary-dark);
}

body.kimora-customer-account--dashboard .woocommerce-MyAccount-content > p:nth-of-type(2) {
    margin: 24px 0 0;
    padding: clamp(18px, 2.5vw, 24px);
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    color: #52647a;
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content > .woocommerce-info:only-child {
    min-height: 148px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding-top: 28px;
    padding-bottom: 28px;
}

body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content > .woocommerce-info:only-child .button {
    flex: 0 0 auto;
    margin-left: auto;
}

/* ---------------------------------------------------------
   #0189.3 — Orders, Downloads and order confirmation
   --------------------------------------------------------- */
body.kimora-customer-ui :where(
    .woocommerce-order,
    .woocommerce-order-downloads,
    .woocommerce-order-details,
    .woocommerce-customer-details
) {
    min-width: 0;
}

body.kimora-customer-ui :where(
    .woocommerce-order-downloads__title,
    .woocommerce-order-details__title,
    .woocommerce-customer-details h2,
    .woocommerce-OrderUpdates + h2
) {
    margin: 38px 0 16px;
    color: var(--km-customer-ink);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

body.kimora-customer-ui .woocommerce table.shop_table tbody th {
    color: var(--km-customer-text);
    background: var(--km-customer-surface);
    font-size: .92rem;
    letter-spacing: 0;
}

body.kimora-customer-ui .woocommerce table.shop_table tbody tr > * {
    transition: background-color .18s ease;
}

body.kimora-customer-ui .woocommerce table.shop_table tbody tr:hover > * {
    background: #fbfdfe;
}

body.kimora-customer-ui--account .woocommerce-orders-table {
    table-layout: fixed;
}

body.kimora-customer-ui--account .woocommerce-orders-table__header-order-number {
    width: 13%;
}

body.kimora-customer-ui--account .woocommerce-orders-table__header-order-date {
    width: 22%;
}

body.kimora-customer-ui--account .woocommerce-orders-table__header-order-status {
    width: 18%;
}

body.kimora-customer-ui--account .woocommerce-orders-table__header-order-total {
    width: 29%;
}

body.kimora-customer-ui--account .woocommerce-orders-table__header-order-actions {
    width: 18%;
}

body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-number a {
    font-weight: 800;
}

body.kimora-customer-ui--account .woocommerce-orders-table__row {
    --km-order-status-color: #64748b;
}

body.kimora-customer-ui--account .woocommerce-orders-table__row--status-completed {
    --km-order-status-color: #08785d;
}

body.kimora-customer-ui--account .woocommerce-orders-table__row--status-processing {
    --km-order-status-color: #08758a;
}

body.kimora-customer-ui--account .woocommerce-orders-table__row--status-on-hold,
body.kimora-customer-ui--account .woocommerce-orders-table__row--status-pending {
    --km-order-status-color: #9a6700;
}

body.kimora-customer-ui--account .woocommerce-orders-table__row--status-failed,
body.kimora-customer-ui--account .woocommerce-orders-table__row--status-cancelled {
    --km-order-status-color: #b42318;
}

body.kimora-customer-ui--account .woocommerce-orders-table__row--status-refunded {
    --km-order-status-color: #6d4db3;
}

body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-status {
    color: var(--km-order-status-color);
    font-weight: 800;
}

body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-status::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border: 2px solid var(--km-customer-surface);
    border-radius: 50%;
    background: var(--km-order-status-color);
    box-shadow: 0 0 0 1px currentColor;
    content: "";
    vertical-align: .04em;
}

body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-actions .button {
    min-height: 40px;
    padding: 8px 14px;
    box-shadow: none;
    white-space: nowrap;
}

body.kimora-customer-ui--account .woocommerce-pagination {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

body.kimora-customer-ui--account .woocommerce-pagination .button {
    min-width: 108px;
}

body.kimora-customer-ui .woocommerce-table--order-downloads {
    table-layout: fixed;
}

body.kimora-customer-ui .woocommerce-table--order-downloads :where(th, td):nth-child(1) {
    width: 29%;
}

body.kimora-customer-ui .woocommerce-table--order-downloads :where(th, td):nth-child(2) {
    width: 18%;
}

body.kimora-customer-ui .woocommerce-table--order-downloads :where(th, td):nth-child(3) {
    width: 20%;
}

body.kimora-customer-ui .woocommerce-table--order-downloads :where(th, td):nth-child(4) {
    width: 33%;
}

body.kimora-customer-ui .woocommerce-table--order-downloads .download-remaining {
    font-weight: 800;
}

body.kimora-customer-ui .woocommerce-table--order-downloads time {
    display: inline-block;
    color: var(--km-customer-text);
    line-height: 1.45;
}

body.kimora-customer-ui .woocommerce-MyAccount-downloads-file {
    width: 100%;
    min-width: 0;
    padding-right: 14px;
    padding-left: 14px;
    overflow-wrap: anywhere;
    white-space: normal;
}

body.kimora-customer-account--view-order .woocommerce-MyAccount-content > p:first-of-type {
    margin: 0 0 30px;
    padding: 17px 18px;
    border: 1px solid #bce4eb;
    border-left: 4px solid var(--km-primary);
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-customer-text);
    background: var(--km-customer-info-surface);
}

body.kimora-customer-account--view-order .woocommerce-MyAccount-content > p:first-of-type mark {
    color: var(--km-primary-dark);
    background: transparent;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.kimora-customer-account--view-order .woocommerce-MyAccount-content > p:first-of-type .order-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 9px;
    border: 1px solid #acdce5;
    border-radius: 999px;
    background: #fff;
}

body.kimora-customer-ui .woocommerce-OrderUpdates {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

body.kimora-customer-ui .woocommerce-OrderUpdate {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-ui .woocommerce-OrderUpdate-meta {
    color: var(--km-customer-muted);
    font-size: .8rem;
    font-weight: 750;
}

body.kimora-customer-ui .woocommerce-table--order-details {
    table-layout: fixed;
}

body.kimora-customer-ui .woocommerce-table--order-details .product-name {
    width: 74%;
}

body.kimora-customer-ui .woocommerce-table--order-details .product-total {
    width: 26%;
    text-align: right;
}

body.kimora-customer-ui .woocommerce-table--order-details tfoot th {
    color: var(--km-customer-ink);
    background: var(--km-customer-surface-muted);
    font-size: .86rem;
}

body.kimora-customer-ui .woocommerce-table--order-details tfoot td {
    font-weight: 750;
    text-align: right;
}

body.kimora-customer-ui .woocommerce-table--order-details .product-name :where(code, strong, div),
body.kimora-customer-ui .woocommerce-order-overview strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.kimora-customer-ui .woocommerce-table--order-details .product-name code {
    white-space: normal;
}

body.kimora-customer-ui .woocommerce-customer-details address {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-customer-text);
    background: var(--km-customer-surface-muted);
    font-style: normal;
    line-height: 1.65;
}

body.kimora-customer-ui .woocommerce-customer-details address > :last-child {
    margin-bottom: 0;
}

body.kimora-customer-ui--order-received .woocommerce-thankyou-order-received {
    position: relative;
    margin: 0 0 22px;
    padding: 18px 20px 18px 58px;
    border: 1px solid #b7e4c7;
    border-radius: var(--km-customer-radius-sm);
    color: #155b44;
    background: var(--km-customer-success-surface);
    font-weight: 750;
}

body.kimora-customer-ui--order-received .woocommerce-thankyou-order-received::before {
    position: absolute;
    top: 15px;
    left: 18px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #138a68;
    content: "";
}

body.kimora-customer-ui--order-received .woocommerce-thankyou-order-received::after {
    position: absolute;
    top: 21px;
    left: 27px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

body.kimora-customer-ui--order-received .woocommerce-thankyou-order-failed {
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid #f3b6b2;
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-customer-danger);
    background: var(--km-customer-danger-surface);
    font-weight: 700;
}

body.kimora-customer-ui--order-received .woocommerce-thankyou-order-failed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.kimora-customer-ui--order-received .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    margin: 0 0 40px;
    padding: 1px;
    overflow: hidden;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-border);
    list-style: none;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
}

body.kimora-customer-ui--order-received .woocommerce-order-overview::before,
body.kimora-customer-ui--order-received .woocommerce-order-overview::after {
    display: none;
    content: none;
}

body.kimora-customer-ui--order-received .woocommerce-order-overview li {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 86px;
    margin: 0;
    padding: 17px 18px;
    border: 0;
    color: var(--km-customer-muted);
    background: var(--km-customer-surface);
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .045em;
    text-transform: uppercase;
}

body.kimora-customer-ui--order-received .woocommerce-order-overview li strong {
    display: block;
    margin-top: 6px;
    color: var(--km-customer-ink);
    font-size: .96rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}

body.kimora-customer-ui--order-received :where(.woocommerce-order-downloads, .woocommerce-order-details, .woocommerce-customer-details) {
    margin-top: 40px;
}

/* ---------------------------------------------------------
   #0189.4 — Addresses, Account details and customer forms
   --------------------------------------------------------- */
body.kimora-customer-account--edit-address .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

body.kimora-customer-account--edit-address .woocommerce-Addresses::before,
body.kimora-customer-account--edit-address .woocommerce-Addresses::after {
    display: none;
    content: none;
}

body.kimora-customer-account--edit-address .woocommerce .woocommerce-Addresses > .woocommerce-Address {
    float: none;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-account--edit-address .woocommerce-Address-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

body.kimora-customer-account--edit-address .woocommerce-Address-title::before,
body.kimora-customer-account--edit-address .woocommerce-Address-title::after {
    display: none;
    content: none;
}

body.kimora-customer-account--edit-address .woocommerce-Address-title h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}

body.kimora-customer-account--edit-address .woocommerce-Address-title .edit {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #b7dce4;
    border-radius: 9px;
    color: var(--km-primary-dark);
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

body.kimora-customer-account--edit-address .woocommerce-Address-title .edit:hover {
    border-color: var(--km-primary);
    background: #effafb;
}

body.kimora-customer-account--edit-address .woocommerce-Address-title .edit:focus-visible {
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 2px;
}

body.kimora-customer-account--edit-address .woocommerce-Address address {
    margin: 0;
    color: #52647a;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

body.kimora-customer-account--edit-address .woocommerce-MyAccount-content > form > h2 {
    margin: 0 0 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--km-customer-border);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    line-height: 1.15;
}

body.kimora-customer-account--edit-address .woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

body.kimora-customer-account--edit-address .woocommerce-address-fields__field-wrapper .form-row {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

body.kimora-customer-account--edit-address .woocommerce-address-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

body.kimora-customer-account--edit-address .woocommerce-address-fields__field-wrapper :is(
    [id$="_postcode_field"],
    [id$="_city_field"],
    [id$="_phone_field"],
    [id$="_email_field"]
) {
    grid-column: span 1;
}

body.kimora-customer-account--edit-address .woocommerce-address-fields > p:last-child {
    margin: 26px 0 0;
}

body.kimora-customer-ui .woocommerce form .form-row :where(input.input-text, textarea, select) {
    min-height: 48px !important;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > .form-row {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > .form-row-wide,
body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > fieldset,
body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > p:last-of-type {
    grid-column: 1 / -1;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > .clear {
    display: none;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm fieldset {
    min-width: 0;
    margin: 8px 0 0;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm legend {
    padding: 0 10px;
    color: var(--km-customer-ink);
    background: var(--km-customer-surface);
    font-family: Manrope, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm fieldset .form-row {
    float: none;
    width: 100%;
    margin: 0 0 17px;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm fieldset .form-row:last-child {
    margin-bottom: 0;
}

body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > p:last-of-type {
    margin: 4px 0 0;
}

body.kimora-customer-ui .woocommerce .password-input {
    position: relative;
    display: block;
    width: 100%;
}

body.kimora-customer-ui .woocommerce .password-input .input-text {
    padding-right: 54px;
}

body.kimora-customer-ui .woocommerce .show-password-input {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: var(--km-customer-muted);
    background: transparent;
    cursor: pointer;
}

body.kimora-customer-ui .woocommerce .show-password-input:hover {
    color: var(--km-primary-dark);
    background: #eef9fb;
}

body.kimora-customer-ui .woocommerce .show-password-input:focus-visible {
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 0;
}

body.kimora-customer-ui .woocommerce :where(
    #account_display_name_description,
    .woocommerce-input-wrapper > .description,
    .woocommerce-password-hint
) {
    display: block;
    margin-top: 7px;
    color: var(--km-customer-muted);
    font-size: .78rem;
    font-style: normal;
    line-height: 1.5;
}

body.kimora-customer-ui .woocommerce .form-row .optional {
    color: var(--km-customer-muted);
    font-size: .76rem;
    font-weight: 600;
}

body.kimora-customer-ui .woocommerce :where(
    input.input-text:disabled,
    textarea:disabled,
    select:disabled,
    input.input-text[aria-disabled="true"],
    textarea[aria-disabled="true"],
    select[aria-disabled="true"]
) {
    cursor: not-allowed;
    color: #66778a;
    background: #eef2f5;
    opacity: .78;
}

body.kimora-customer-ui .woocommerce .form-row.woocommerce-invalid :where(
    input.input-text,
    textarea,
    select,
    .select2-selection
) {
    border-color: var(--km-customer-danger);
    background: var(--km-customer-danger-surface);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .1);
}

body.kimora-customer-ui .woocommerce .form-row.woocommerce-invalid label {
    color: var(--km-customer-danger);
}

body.kimora-customer-ui .woocommerce .form-row.woocommerce-validated :where(
    input.input-text,
    textarea,
    select,
    .select2-selection
) {
    border-color: #52a98e;
}

body.kimora-customer-ui .woocommerce .select2-container {
    width: 100% !important;
    max-width: 100%;
}

body.kimora-customer-ui .woocommerce .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid var(--km-customer-border-strong);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface);
}

body.kimora-customer-ui .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 42px 0 13px;
    color: var(--km-customer-ink);
    line-height: 46px;
}

body.kimora-customer-ui .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 1px;
    right: 8px;
    width: 32px;
    height: 44px;
}

body.kimora-customer-ui .woocommerce .select2-container--focus .select2-selection--single,
body.kimora-customer-ui .woocommerce .select2-container--open .select2-selection--single {
    border-color: var(--km-action);
    box-shadow: 0 0 0 4px rgba(8, 117, 138, .12);
}

body.kimora-customer-ui .select2-dropdown {
    overflow: hidden;
    border-color: var(--km-customer-border-strong);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

body.kimora-customer-ui .woocommerce-password-strength {
    margin-top: 8px;
    padding: 9px 11px;
    border: 1px solid var(--km-customer-border);
    border-radius: 8px;
    color: var(--km-customer-text);
    background: var(--km-customer-surface);
    font-size: .78rem;
    font-weight: 750;
    text-align: left;
}

body.kimora-customer-ui .woocommerce-password-strength:is(.short, .bad) {
    border-color: #f3b6b2;
    color: var(--km-customer-danger);
    background: var(--km-customer-danger-surface);
}

body.kimora-customer-ui .woocommerce-password-strength.good {
    border-color: #ead18a;
    color: var(--km-customer-warning);
    background: var(--km-customer-warning-surface);
}

body.kimora-customer-ui .woocommerce-password-strength.strong {
    border-color: #b7e4c7;
    color: #155b44;
    background: var(--km-customer-success-surface);
}

body.kimora-customer-ui--contact .entry-content {
    max-width: 58rem;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form {
    width: 100%;
    max-width: 56rem;
    margin: 0 !important;
    padding: clamp(22px, 4vw, 38px) !important;
    border: 1px solid var(--km-customer-border) !important;
    border-radius: var(--km-customer-radius) !important;
    background: var(--km-customer-surface) !important;
    box-shadow: var(--km-customer-shadow);
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-row {
    margin-bottom: 20px !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-row-last {
    margin-bottom: 0 !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-field {
    position: relative;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-label {
    display: block;
    margin: 0 0 8px !important;
    color: var(--km-customer-text) !important;
    font-size: .84rem !important;
    font-weight: 750 !important;
    line-height: 1.4;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form :where(.forminator-input, .forminator-textarea) {
    min-height: 48px !important;
    padding: 11px 13px !important;
    border-color: var(--km-customer-border-strong) !important;
    border-radius: var(--km-customer-radius-sm) !important;
    color: var(--km-customer-ink) !important;
    background: var(--km-customer-surface) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form :where(.forminator-input, .forminator-textarea):focus {
    border-color: var(--km-action) !important;
    box-shadow: 0 0 0 4px rgba(8, 117, 138, .12) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-textarea {
    min-height: 180px !important;
    resize: vertical;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-description {
    display: flex;
    justify-content: flex-end;
    margin: 7px 0 0 !important;
    color: var(--km-customer-muted) !important;
    font-size: .76rem !important;
    line-height: 1.4;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-error-message {
    display: block;
    margin-top: 7px;
    color: var(--km-customer-danger) !important;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.45;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-has_error :where(.forminator-input, .forminator-textarea) {
    border-color: var(--km-customer-danger) !important;
    background: var(--km-customer-danger-surface) !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .1) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message.forminator-show {
    margin: 0 0 20px !important;
    padding: 15px 17px !important;
    border: 1px solid var(--km-customer-border) !important;
    border-radius: var(--km-customer-radius-sm) !important;
    color: var(--km-customer-ink) !important;
    background: var(--km-customer-info-surface) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message.forminator-error {
    border-color: #f3b6b2 !important;
    color: var(--km-customer-danger) !important;
    background: var(--km-customer-danger-surface) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message.forminator-success {
    border-color: #b7e4c7 !important;
    color: #155b44 !important;
    background: var(--km-customer-success-surface) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit.forminator-loading,
body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit:disabled {
    cursor: wait;
    opacity: .66;
    transform: none;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit {
    min-height: 48px !important;
    padding: 11px 20px !important;
    border-radius: var(--km-customer-radius-sm) !important;
}

/* ---------------------------------------------------------
   #0189.5 — Cart and Checkout Blocks
   --------------------------------------------------------- */
:is(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .entry-content {
    width: 100%;
    max-width: none;
}

:is(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-sidebar-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
    align-items: start;
    gap: clamp(24px, 3vw, 38px);
    margin: 0;
}

:is(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .wc-block-components-main,
    .wc-block-components-sidebar
) {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

body.kimora-customer-ui--cart .wc-block-components-sidebar-layout > .wc-block-components-main,
body.kimora-customer-ui--cart .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
body.kimora-customer-ui--checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
body.kimora-customer-ui--checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar
) {
    overflow: hidden;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-surface);
    box-shadow: var(--km-customer-shadow);
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .wc-block-cart__totals-title,
    .wc-block-checkout__sidebar .wc-block-components-title
) {
    margin: 0;
    padding: 20px 22px;
    border-bottom: 1px solid var(--km-customer-border);
    color: var(--km-customer-ink);
    background: var(--km-customer-surface-muted);
    font-family: Manrope, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.01em;
    text-transform: none;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-wrapper {
    padding: 0;
    border-top: 1px solid var(--km-customer-border);
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-wrapper:first-of-type {
    border-top: 0;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .wc-block-components-totals-item,
    .wc-block-components-panel__button
) {
    min-height: 52px;
    padding: 14px 22px;
    color: var(--km-customer-text);
    font-size: .88rem;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-item__label,
:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-item__value {
    font-weight: 700;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-footer-item {
    color: var(--km-customer-ink);
    font-size: 1.1rem;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-coupon__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 0 22px 20px;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-coupon__input input {
    min-height: 48px;
    border-color: var(--km-customer-border-strong);
    border-radius: var(--km-customer-radius-sm);
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-coupon__button {
    min-height: 48px;
    min-width: 88px;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .wc-block-components-panel__button,
    .wc-block-cart-item__remove-link,
    .wc-block-components-checkout-return-to-cart-button
):focus-visible,
:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-radio-control__option:has(input:focus-visible) {
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 2px;
}

body.kimora-customer-ui--cart .wc-block-cart__main {
    overflow: hidden;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-surface);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .055);
}

body.kimora-customer-ui--cart .wc-block-cart-items {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

body.kimora-customer-ui--cart .wc-block-cart-items__header {
    color: var(--km-customer-muted);
    background: var(--km-customer-surface-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
}

body.kimora-customer-ui--cart .wc-block-cart-items__header th {
    padding: 15px 20px;
    border-bottom: 1px solid var(--km-customer-border);
}

body.kimora-customer-ui--cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-items__header-total {
    padding-right: 20px;
}

body.kimora-customer-ui--cart .wc-block-cart-items__row td {
    padding: 22px 20px;
    border-top: 1px solid var(--km-customer-border);
    vertical-align: top;
}

body.kimora-customer-ui--cart .wc-block-cart-items__row:first-child td {
    border-top: 0;
}

body.kimora-customer-ui--cart .wc-block-cart-item__image img {
    width: 92px;
    height: 92px;
    border: 1px solid var(--km-customer-border);
    border-radius: 12px;
    background: var(--km-customer-surface-muted);
    object-fit: cover;
}

body.kimora-customer-ui--cart .wc-block-components-product-name {
    color: var(--km-customer-ink);
    font-family: Manrope, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

body.kimora-customer-ui--cart .wc-block-components-product-name:hover {
    color: var(--km-primary-dark);
}

body.kimora-customer-ui--cart :where(.wc-block-cart-item__prices, .wc-block-cart-item__quantity) {
    margin-top: 10px;
}

body.kimora-customer-ui--cart .wc-block-components-product-details {
    margin: 9px 0 0;
    color: var(--km-customer-muted);
    font-size: .78rem;
}

body.kimora-customer-ui--cart .wc-block-components-product-details li {
    margin: 0;
}

body.kimora-customer-ui--cart .wc-block-components-sale-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 8px;
    padding: 4px 8px;
    border: 1px solid #b7e4c7;
    border-radius: 999px;
    color: #155b44;
    background: var(--km-customer-success-surface);
    font-size: .7rem;
    font-weight: 800;
}

body.kimora-customer-ui--cart .wc-block-cart-item__remove-link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin: 6px 0 0;
    padding: 6px 0;
    border: 0;
    color: var(--km-customer-danger);
    background: transparent;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .2em;
}

body.kimora-customer-ui--cart .wc-block-cart-item__remove-link:hover {
    color: #8f1c14;
}

body.kimora-customer-ui--cart .wc-block-components-quantity-selector {
    min-height: 44px;
    border-color: var(--km-customer-border-strong);
    border-radius: 9px;
}

body.kimora-customer-ui--cart .wc-block-cart__totals-title {
    padding: 20px 22px;
}

body.kimora-customer-ui--cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
    padding: 14px 54px 14px 22px;
    padding-left: 22px !important;
}

body.kimora-customer-ui--cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
    right: 22px;
}

body.kimora-customer-ui--cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item {
    padding: 14px 22px;
}

body.kimora-customer-ui--cart .wc-block-cart__submit {
    margin: 0;
    padding: 18px 22px 22px;
}

body.kimora-customer-ui--cart .wc-block-cart__submit-button,
body.kimora-customer-ui--checkout .wc-block-components-checkout-place-order-button {
    width: 100%;
    min-height: 52px;
    border-radius: 11px;
    font-size: .94rem;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-express-payment {
    margin: 0 0 18px;
    padding: 20px;
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface);
}

body.kimora-customer-ui--cart .wc-block-components-express-payment {
    margin: 18px 22px 0;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-express-payment__title-container::before,
:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-express-payment__title-container::after {
    background: var(--km-customer-border);
}

body.kimora-customer-ui--cart .wp-block-woocommerce-empty-cart-block {
    width: 100%;
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius);
    background: var(--km-customer-surface);
    box-shadow: var(--km-customer-shadow);
}

body.kimora-customer-ui--cart .wc-block-cart__empty-cart__title {
    margin: 0 auto 22px;
    color: var(--km-customer-ink);
    font-family: Manrope, sans-serif;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -.035em;
}

body.kimora-customer-ui--cart .wp-block-woocommerce-empty-cart-block .wp-block-separator {
    margin: 28px auto;
    color: var(--km-customer-border-strong);
}

body.kimora-customer-ui--checkout .wc-block-checkout__main {
    display: grid;
    gap: 16px;
}

body.kimora-customer-ui--checkout .wc-block-components-checkout-step {
    min-width: 0;
    margin: 0;
    padding: clamp(20px, 3vw, 26px);
    border: 1px solid var(--km-customer-border);
    border-radius: var(--km-customer-radius-sm);
    background: var(--km-customer-surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

body.kimora-customer-ui--checkout .wc-block-components-checkout-step__heading {
    margin: 0;
    padding: 0;
}

body.kimora-customer-ui--checkout .wc-block-components-checkout-step__title {
    color: var(--km-customer-ink);
    font-family: Manrope, sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.015em;
}

body.kimora-customer-ui--checkout .wc-block-components-checkout-step__description {
    margin-top: 5px;
    color: var(--km-customer-muted);
    font-size: .8rem;
    line-height: 1.5;
}

body.kimora-customer-ui--checkout .wc-block-components-checkout-step__container {
    margin: 18px 0 0;
    padding: 0;
}

body.kimora-customer-ui--checkout :where(
    .wc-block-components-text-input input,
    .wc-block-components-combobox .wc-block-components-combobox-control input,
    .wc-block-components-textarea
) {
    min-height: 48px;
    border-color: var(--km-customer-border-strong);
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-customer-ink);
    background: var(--km-customer-surface);
}

body.kimora-customer-ui--checkout :where(
    .wc-block-components-text-input input,
    .wc-block-components-combobox .wc-block-components-combobox-control input,
    .wc-block-components-textarea
):focus {
    border-color: var(--km-action);
    box-shadow: 0 0 0 4px rgba(8, 117, 138, .12);
}

body.kimora-customer-ui--checkout .wc-block-components-address-card {
    padding: 16px;
    border: 1px solid var(--km-customer-border);
    border-radius: 11px;
    color: var(--km-customer-text);
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-ui--checkout .wc-block-components-address-card__edit {
    min-width: 44px;
    min-height: 44px;
    color: var(--km-primary-dark);
    font-weight: 750;
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-option {
    overflow: hidden;
    border: 1px solid var(--km-customer-border);
    border-bottom: 0;
    background: var(--km-customer-surface);
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-option:first-child {
    border-radius: 11px 11px 0 0;
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-option:last-child {
    border-bottom: 1px solid var(--km-customer-border);
    border-radius: 0 0 11px 11px;
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-option:only-child {
    border-bottom: 1px solid var(--km-customer-border);
    border-radius: 11px;
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
    border-color: #71becd;
    background: #f2fbfc;
    box-shadow: inset 4px 0 0 var(--km-action);
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control__option {
    min-height: 52px;
    padding: 14px 16px 14px 48px;
    color: var(--km-customer-ink);
    font-weight: 750;
}

body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-content {
    margin: 0;
    padding: 0 16px 16px 48px;
    color: var(--km-customer-text);
    font-size: .84rem;
    line-height: 1.6;
}

body.kimora-customer-ui--checkout :where(
    .wc-block-components-radio-control-accordion-content,
    .wc-block-checkout__terms
) a {
    overflow-wrap: anywhere;
    font-weight: 750;
}

body.kimora-customer-ui--checkout .kimora-paddle-payment-description,
body.kimora-customer-ui--checkout .kimora-paddle-payment-policy {
    display: block !important;
    visibility: visible !important;
    max-height: none !important;
    overflow: visible !important;
}

body.kimora-customer-ui--checkout .kimora-paddle-payment-description p {
    margin: 0 0 10px;
}

body.kimora-customer-ui--checkout .kimora-paddle-payment-description p:last-child {
    margin-bottom: 0;
}

body.kimora-customer-ui--checkout .wc-block-checkout__order-notes,
body.kimora-customer-ui--checkout .wc-block-checkout__terms,
body.kimora-customer-ui--checkout .wc-block-checkout__actions {
    min-width: 0;
}

body.kimora-customer-ui--checkout .wc-block-checkout__order-notes {
    padding-block: 16px;
}

body.kimora-customer-ui--checkout .wc-block-components-checkbox__label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--km-customer-text);
}

body.kimora-customer-ui--checkout .wc-block-checkout__terms {
    padding: 4px 4px 0;
    color: var(--km-customer-muted);
    font-size: .82rem;
    line-height: 1.6;
}

body.kimora-customer-ui--checkout .wc-block-checkout__actions_row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body.kimora-customer-ui--checkout .wc-block-components-checkout-return-to-cart-button {
    min-height: 44px;
    justify-self: start;
    color: var(--km-primary-dark);
    font-weight: 750;
}

body.kimora-customer-ui--checkout .wc-block-components-order-summary {
    padding: 6px 22px 12px;
}

body.kimora-customer-ui--checkout .wc-block-components-order-summary-item {
    padding: 16px 0;
    border-bottom-color: var(--km-customer-border);
}

body.kimora-customer-ui--checkout .wc-block-components-order-summary-item__image > img {
    border: 1px solid var(--km-customer-border);
    border-radius: 9px;
    background: var(--km-customer-surface-muted);
}

body.kimora-customer-ui--checkout .wc-block-components-order-summary-item__description {
    min-width: 0;
}

body.kimora-customer-ui--checkout .wc-block-components-order-summary-item__description :where(
    .wc-block-components-product-name,
    .wc-block-components-product-metadata,
    .wc-block-components-product-price
) {
    overflow-wrap: anywhere;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .wc-block-components-notice-banner,
    .wc-block-components-validation-error,
    .kimora-paddle-unavailable-notice
) {
    margin: 0 0 16px;
    border: 1px solid #f3b6b2;
    border-radius: var(--km-customer-radius-sm);
    color: var(--km-customer-danger);
    background: var(--km-customer-danger-surface);
    font-size: .82rem;
    line-height: 1.55;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
    .is-loading,
    [aria-busy="true"]
) .wc-block-components-button {
    cursor: wait;
    opacity: .66;
    transform: none;
}

:where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-spinner {
    color: var(--km-primary-dark);
}

body.kimora-customer-ui--checkout :where(
    .wc-block-components-text-input input,
    .wc-block-components-combobox .wc-block-components-combobox-control input,
    .wc-block-components-textarea
) {
    min-height: 48px !important;
    border-color: var(--km-customer-border-strong) !important;
    border-radius: var(--km-customer-radius-sm) !important;
}

body.kimora-customer-ui--cart .wc-block-cart__submit-button,
body.kimora-customer-ui--checkout .wc-block-components-checkout-place-order-button {
    min-height: 52px !important;
}

body.kimora-customer-ui--cart .wc-block-components-totals-coupon__button,
body.kimora-customer-ui--checkout .wc-block-components-totals-coupon__button {
    min-height: 48px !important;
}

/* ---------------------------------------------------------
   #0189.6 — Contact integration
   --------------------------------------------------------- */
body.kimora-customer-ui--contact .entry-content > p:empty {
    display: none;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form {
    isolation: isolate;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form :where(
    .forminator-row,
    .forminator-col,
    .forminator-field,
    .forminator-input--wrap,
    .forminator-textarea--wrap
) {
    min-width: 0;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-field:focus-within .forminator-label {
    color: var(--km-primary-dark) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-field:not(.forminator-has_error) :where(
    .forminator-input,
    .forminator-textarea
):hover:not(:focus) {
    border-color: #a8becb !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form :where(
    .forminator-input,
    .forminator-textarea
):focus-visible {
    outline: 3px solid transparent;
    outline-offset: 2px;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form :where(
    .forminator-input,
    .forminator-textarea
):is(:disabled, [readonly]) {
    cursor: not-allowed;
    color: var(--km-customer-muted) !important;
    background: var(--km-customer-surface-muted) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form :where(
    .forminator-input,
    .forminator-textarea
)[aria-invalid="true"] {
    border-color: var(--km-customer-danger) !important;
    background: var(--km-customer-danger-surface) !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .1) !important;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-description > [data-limit] {
    color: inherit;
    font-variant-numeric: tabular-nums;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-error-message {
    padding: 8px 10px;
    border-left: 3px solid var(--km-customer-danger);
    border-radius: 0 7px 7px 0;
    background: var(--km-customer-danger-surface);
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message:is(
    .forminator-show,
    [aria-hidden="false"]
) {
    overflow-wrap: anywhere;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message:is(
    .forminator-show,
    [aria-hidden="false"]
) > :first-child {
    margin-top: 0;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message:is(
    .forminator-show,
    [aria-hidden="false"]
) > :last-child {
    margin-bottom: 0;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message:focus-visible {
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 3px;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit {
    min-width: 132px;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit:focus-visible {
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 3px;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit:disabled {
    cursor: not-allowed;
}

body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit.forminator-loading {
    cursor: progress;
}

body.kimora-customer-ui--contact .entry-content > .forminator-edit-module {
    max-width: 56rem;
    margin: 12px 0 0 !important;
}

body.kimora-customer-ui--contact .entry-content > .forminator-edit-module:empty {
    display: none;
}

body.kimora-customer-ui--contact .forminator-module-edit-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--km-customer-border);
    border-radius: 9px;
    background: var(--km-customer-surface);
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none !important;
}

body.kimora-customer-ui--contact .forminator-module-edit-link:focus-visible {
    outline: 3px solid rgba(8, 117, 138, .28);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    body.kimora-customer-ui .site-main:not(.home-main) {
        padding: 52px 0 72px;
    }

    body.kimora-customer-ui .page-header {
        margin-bottom: 32px;
    }

    body.kimora-customer-ui--account.logged-in .entry-content > .woocommerce {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "notices"
            "navigation"
            "content";
        gap: 18px;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation {
        overflow-x: auto;
        max-width: 100%;
        padding: 8px;
        scrollbar-color: var(--km-customer-border-strong) transparent;
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation ul {
        display: flex;
        width: max-content;
        min-width: 100%;
        gap: 6px;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation a {
        width: auto;
        min-height: 44px;
        padding: 9px 13px;
        white-space: nowrap;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation :where(.is-active a, a[aria-current="page"]) {
        box-shadow: inset 0 -3px 0 var(--km-primary);
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-navigation-link--customer-logout {
        margin-top: 0;
        padding-top: 0;
        padding-left: 6px;
        border-top: 0;
        border-left: 1px solid var(--km-customer-border);
    }

    :is(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-sidebar-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    :where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
        .wc-block-cart__sidebar,
        .wc-block-checkout__sidebar
    ) {
        position: static;
        top: auto;
    }
}

@media (max-width: 767px) {
    body.kimora-customer-ui .site-main:not(.home-main) {
        padding: 42px 0 60px;
    }

    body.kimora-customer-ui .content-container--narrow,
    body.kimora-customer-ui .woo-container {
        width: min(calc(100% - 32px), var(--km-container));
    }

    body.kimora-customer-ui .page-header {
        margin-bottom: 28px;
    }

    body.kimora-customer-ui .page-header h1 {
        font-size: clamp(2.1rem, 11vw, 2.75rem);
    }

    body.kimora-customer-ui :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
        padding: 15px 16px 15px 46px;
    }

    body.kimora-customer-ui :where(
        .woocommerce a.button,
        .woocommerce button.button,
        .woocommerce input.button,
        .wc-block-components-button:not(.is-link),
        .wp-element-button,
        .forminator-ui .forminator-button-submit
    ) {
        min-width: 44px;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content {
        min-height: 0;
        padding: clamp(20px, 5vw, 28px);
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content > .woocommerce-info:only-child .button {
        width: 100%;
        margin-left: 0;
    }

    body.kimora-customer-account--edit-address .woocommerce-Addresses,
    body.kimora-customer-account--edit-address .woocommerce-address-fields__field-wrapper,
    body.kimora-customer-account--edit-account .woocommerce-EditAccountForm {
        grid-template-columns: minmax(0, 1fr);
    }

    body.kimora-customer-account--edit-address .woocommerce-Address {
        min-height: 0;
    }

    body.kimora-customer-account--edit-address .woocommerce-address-fields__field-wrapper > .form-row,
    body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > :where(.form-row, fieldset, p:last-of-type) {
        grid-column: 1 / -1;
    }

    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form {
        padding: clamp(20px, 5vw, 30px) !important;
    }

    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-row {
        margin-bottom: 18px !important;
    }

    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-textarea {
        min-height: 168px !important;
    }

    :where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
        .wc-block-cart__totals-title,
        .wc-block-checkout__sidebar .wc-block-components-title
    ) {
        padding: 17px 18px;
    }

    :where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) :where(
        .wc-block-components-totals-item,
        .wc-block-components-panel__button
    ) {
        padding-inline: 18px;
    }

    :where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-coupon__form {
        padding-inline: 18px;
    }

    body.kimora-customer-ui--cart .wc-block-cart-items__header th,
    body.kimora-customer-ui--cart .wc-block-cart-items__row td {
        padding-inline: 16px;
    }

    body.kimora-customer-ui--cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-items__header-total {
        padding-right: 16px;
    }

    body.kimora-customer-ui--cart .wc-block-cart__totals-title {
        padding: 17px 18px;
    }

    body.kimora-customer-ui--cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
        padding: 14px 50px 14px 18px;
        padding-left: 18px !important;
    }

    body.kimora-customer-ui--cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
        right: 18px;
    }

    body.kimora-customer-ui--cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item {
        padding-inline: 18px;
    }

    body.kimora-customer-ui--cart .wc-block-cart-item__image img {
        width: 76px;
        height: 76px;
    }

    body.kimora-customer-ui--cart .wc-block-cart__submit {
        padding-inline: 18px;
    }

    body.kimora-customer-ui--checkout .wc-block-components-checkout-step {
        padding: 20px;
    }

    body.kimora-customer-ui--checkout .wc-block-components-order-summary {
        padding-inline: 18px;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive thead {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        clip-path: inset(50%) !important;
        border: 0 !important;
        white-space: nowrap !important;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive tbody {
        display: grid;
        gap: 12px;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive tbody tr {
        display: block;
        overflow: hidden;
        border: 1px solid var(--km-customer-border);
        border-radius: var(--km-customer-radius-sm);
        background: var(--km-customer-surface);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive tbody tr > :where(th, td) {
        width: 100%;
        min-height: 46px;
        display: grid;
        grid-template-columns: minmax(108px, .43fr) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid var(--km-customer-border);
        background: var(--km-customer-surface);
        text-align: left !important;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive.woocommerce-table--order-downloads tbody tr > :where(th, td) {
        width: 100%;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive tbody tr > :where(th, td):last-child {
        border-bottom: 0;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive tbody tr > :where(th, td)::before {
        color: var(--km-customer-muted);
        content: attr(data-title);
        font-size: .72rem;
        font-weight: 800;
        line-height: 1.3;
        letter-spacing: .035em;
        text-transform: uppercase;
    }

    body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-status::before {
        width: auto;
        height: auto;
        margin-right: 0;
        border: 0;
        border-radius: 0;
        color: var(--km-customer-muted);
        background: transparent;
        box-shadow: none;
        content: attr(data-title);
    }

    body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-status {
        grid-template-columns: minmax(108px, .43fr) minmax(0, 1fr) !important;
    }

    body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-actions .button,
    body.kimora-customer-ui--account .woocommerce-MyAccount-downloads-file {
        width: 100%;
    }

    body.kimora-customer-ui--order-received .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    body.kimora-customer-ui .content-container--narrow,
    body.kimora-customer-ui .woo-container {
        width: min(calc(100% - 28px), var(--km-container));
    }

    body.kimora-customer-ui .site-main:not(.home-main) {
        padding: 36px 0 52px;
    }

    body.kimora-customer-ui .woocommerce table.shop_table th,
    body.kimora-customer-ui .woocommerce table.shop_table td {
        padding: 13px 12px;
    }

    body.kimora-customer-ui--account.logged-in .woocommerce-MyAccount-content {
        padding: 18px 16px;
        border-radius: 14px;
    }

    :where(body.kimora-customer-ui--account, body.kimora-customer-ui--order-received) .woocommerce table.shop_table_responsive tbody tr > :where(th, td) {
        grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
        gap: 10px;
        padding: 11px 12px;
    }

    body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-status {
        grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr) !important;
    }

    body.kimora-customer-ui--order-received .woocommerce-order-overview {
        grid-template-columns: minmax(0, 1fr);
    }

    body.kimora-customer-ui--order-received .woocommerce-order-overview li {
        min-height: 0;
    }

    body.kimora-customer-ui--order-received .woocommerce-thankyou-order-received {
        padding: 16px 16px 16px 52px;
    }

    body.kimora-customer-account--edit-address .woocommerce-Address-title {
        display: grid;
    }

    body.kimora-customer-account--edit-address .woocommerce-Address-title .edit {
        width: 100%;
        justify-content: center;
    }

    body.kimora-customer-account--edit-address .woocommerce-address-fields > p:last-child .button,
    body.kimora-customer-account--edit-account .woocommerce-EditAccountForm > p:last-of-type .button,
    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-button-submit,
    :where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-coupon__button {
        width: 100%;
    }

    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form {
        padding: 18px !important;
    }

    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-error-message {
        padding: 7px 9px;
    }

    body.kimora-customer-ui--contact .entry-content > .forminator-edit-module,
    body.kimora-customer-ui--contact .forminator-module-edit-link {
        width: 100%;
    }

    body.kimora-customer-ui--contact .forminator-module-edit-link {
        justify-content: center;
    }

    :where(body.kimora-customer-ui--cart, body.kimora-customer-ui--checkout) .wc-block-components-totals-coupon__form {
        grid-template-columns: minmax(0, 1fr);
    }

    body.kimora-customer-ui--cart .wc-block-cart-items__row td {
        padding-inline: 12px;
    }

    body.kimora-customer-ui--cart .wc-block-cart-item__image img {
        width: 68px;
        height: 68px;
    }

    body.kimora-customer-ui--checkout .wc-block-components-checkout-step {
        padding: 18px 16px;
    }

    body.kimora-customer-ui--checkout .wc-block-components-radio-control__option {
        padding: 14px 13px 14px 46px;
    }

    body.kimora-customer-ui--checkout .wc-block-components-radio-control-accordion-content {
        padding-right: 13px;
        padding-left: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.kimora-customer-ui *,
    body.kimora-customer-ui *::before,
    body.kimora-customer-ui *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    body.kimora-customer-ui :where(
        .km-customer-card,
        .km-customer-panel,
        .woocommerce-message,
        .woocommerce-info,
        .woocommerce-error,
        .woocommerce table.shop_table,
        .woocommerce-MyAccount-navigation,
        .woocommerce-MyAccount-content,
        .woocommerce-order-overview,
        .woocommerce-OrderUpdate,
        .woocommerce-customer-details address,
        .woocommerce-Address,
        .woocommerce-EditAccountForm fieldset,
        .wc-block-cart__main,
        .wc-block-cart__sidebar,
        .wc-block-checkout__sidebar,
        .wc-block-components-checkout-step,
        .wc-block-components-express-payment,
        .wp-block-woocommerce-empty-cart-block,
        .wc-block-components-radio-control-accordion-option,
        .forminator-ui.forminator-custom-form,
        .forminator-response-message
    ) {
        border-color: CanvasText;
        box-shadow: none;
    }

    body.kimora-customer-ui :where(
        .woocommerce form .form-row input.input-text,
        .woocommerce form .form-row textarea,
        .woocommerce form .form-row select,
        .woocommerce .select2-selection--single,
        .wc-block-components-text-input input,
        .wc-block-components-combobox .wc-block-components-combobox-control input,
        .wc-block-components-textarea,
        .forminator-ui.forminator-custom-form .forminator-input,
        .forminator-ui.forminator-custom-form .forminator-textarea,
        .forminator-ui.forminator-custom-form .forminator-error-message
    ) {
        border-color: FieldText !important;
        color: FieldText !important;
        background: Field !important;
        box-shadow: none !important;
    }

    body.kimora-customer-ui--account .woocommerce-orders-table__cell-order-status::before,
    body.kimora-customer-ui--order-received .woocommerce-thankyou-order-received::before,
    body.kimora-customer-ui--order-received .woocommerce-thankyou-order-received::after {
        border: 1px solid CanvasText;
        color: CanvasText;
        background: Canvas;
        box-shadow: none;
    }

    body.kimora-customer-ui :where(
        .woocommerce a.button,
        .woocommerce button.button,
        .woocommerce input.button,
        .wc-block-components-button:not(.is-link),
        .wp-element-button,
        .forminator-ui .forminator-button-submit
    ) {
        border: 2px solid ButtonText;
        color: ButtonText !important;
        background: ButtonFace !important;
        box-shadow: none;
    }

    body.kimora-customer-ui--contact .forminator-module-edit-link,
    body.kimora-customer-ui--contact .forminator-ui.forminator-custom-form .forminator-response-message:focus-visible {
        outline-color: Highlight;
    }
}
