/**
 * Main Stylesheet
 *
 * @package Faraiand\PandaDigitExclusiveUserArea
 */

/* === Base Styles === */
.pduaaf-area {
    font-family: inherit;
    direction: rtl;
    text-align: right;
    color: var(--pd-text, #475569);
}

.pduaaf-area *,
.pduaaf-area *::before,
.pduaaf-area *::after {
    box-sizing: border-box;
}

.pduaaf-area a {
    color: var(--pd-primary, #1e40af);
    text-decoration: none;
}

.pduaaf-area a:hover {
    color: var(--pd-accent, #f59e0b);
}

.pduaaf-area h1,
.pduaaf-area h2,
.pduaaf-area h3,
.pduaaf-area h4 {
    color: var(--pd-heading, #1e293b);
    letter-spacing: 0;
}

.pduaaf-area .button,
.pduaaf-area button.button,
.pduaaf-area a.button,
.pduaaf-modal .button,
.pduaaf-modal button.button,
.pduaaf-modal a.button,
.woocommerce-account .woocommerce-MyAccount-content .pduaaf-area .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid var(--pd-primary, #1e40af);
    border-radius: var(--pd-radius-button, 6px);
    background: var(--pd-primary, #1e40af);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.pduaaf-area .button:hover,
.pduaaf-area button.button:hover,
.pduaaf-area a.button:hover {
    background: var(--pd-accent, #f59e0b);
    border-color: var(--pd-accent, #f59e0b);
    color: #fff;
}

.pduaaf-area .button-secondary,
.pduaaf-area .button.button-secondary,
.pduaaf-modal .button-secondary,
.pduaaf-modal .button.button-secondary {
    background: var(--pd-surface, #fff);
    color: var(--pd-text, #475569);
    border-color: var(--pd-border, #e2e8f0);
}

.pduaaf-area .button-secondary:hover,
.pduaaf-area .button.button-secondary:hover {
    background: var(--pd-background, #f8fafc);
    color: var(--pd-heading, #1e293b);
    border-color: var(--pd-primary, #1e40af);
}

/* === Product Page Actions === */
.pduaaf-product-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin: 10px 8px 0 0;
    padding: 9px 15px;
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-button, 8px);
    background: var(--pd-surface, #fff);
    color: var(--pd-heading, #1e293b);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pduaaf-product-action:hover {
    transform: translateY(-1px);
    border-color: var(--pd-primary, #ff9800);
    color: var(--pd-primary, #ff9800);
}

.pduaaf-product-action .dashicons,
.pduaaf-product-action .wishlist-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-primary, #ff9800);
    font-size: 19px;
    line-height: 1;
}

.pduaaf-wishlist-btn.in-wishlist {
    background: color-mix(in srgb, var(--pd-error, #ef4444) 10%, #fff);
    border-color: color-mix(in srgb, var(--pd-error, #ef4444) 28%, #fff);
    color: var(--pd-error, #ef4444);
}

.woocommerce-account .woocommerce {
    direction: rtl;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    color: var(--pd-text, #475569);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: right;
    width: 280px;
    margin-left: 28px;
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: left;
    width: calc(100% - 308px);
    min-height: 420px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 12px;
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid var(--pd-border, #e2e8f0);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: var(--pd-radius-button, 6px);
    color: var(--pd-text, #475569);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    content: "";
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--pd-primary, #1e40af) 13%, #fff);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pd-primary, #1e40af) 18%, transparent);
}

.woocommerce-account .woocommerce-MyAccount-navigation a::after {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pd-primary, #1e40af);
    font-family: dashicons;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::after {
    content: "\f226";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::after {
    content: "\f174";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--external-orders a::after {
    content: "\f504";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--bom a::after {
    content: "\f163";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--returns a::after {
    content: "\f531";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--wishlist a::after {
    content: "\f487";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::after {
    content: "\f110";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--wallet a::after {
    content: "\f524";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--tickets a::after {
    content: "\f101";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::after {
    content: "\f230";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::after {
    content: "\f310";
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: var(--pd-primary, #1e40af);
    color: #fff;
    transform: translateX(-2px);
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover::after,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::after {
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
    margin-top: 0;
}

.woocommerce-account .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

/* === Color Palette (dynamically injected via inline style) === */

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

/* === Animations === */
@keyframes pduaaf-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes pduaaf-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pduaaf-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pduaaf-area * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === Stats Grid === */
.pduaaf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pduaaf-section {
    margin-bottom: 24px;
    padding: 22px;
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.pduaaf-dashboard > .pduaaf-section {
    animation: pduaaf-fade-in 0.35s ease;
}

.pduaaf-stat-card {
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    min-height: 132px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.pduaaf-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--pd-primary, #1e40af);
}

.pduaaf-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 24px;
}

.pduaaf-stat-content h3 {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    color: var(--pd-heading, #1e293b);
    text-align: center;
}

.pduaaf-stat-content p {
    margin: 5px 0 0;
    color: var(--pd-text, #475569);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

/* === Notice Styles === */
.pduaaf-notice {
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.pduaaf-notice-info {
    border-right: 4px solid var(--pd-info, #3b82f6);
}

.pduaaf-notice-success {
    border-right: 4px solid var(--pd-success, #22c55e);
}

.pduaaf-notice-warning {
    border-right: 4px solid var(--pd-warning, #f59e0b);
}

.pduaaf-notice-error {
    border-right: 4px solid var(--pd-error, #ef4444);
}

.pduaaf-announcement {
    animation: pduaaf-fade-in 0.5s ease;
}

.pduaaf-announcement-icon {
    animation: pduaaf-pulse 2s ease-in-out infinite;
}

/* === Progress Bar === */
.pduaaf-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--pd-border, #e2e8f0);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.pduaaf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pd-primary, #1e40af), var(--pd-accent, #f59e0b));
    transition: width 0.3s ease;
}

/* === Orders List === */
.pduaaf-orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pduaaf-order-item {
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    padding: 14px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.pduaaf-order-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pduaaf-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.pduaaf-order-number {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pd-heading, #1e293b);
}

.pduaaf-order-date,
.pduaaf-order-header small {
    color: var(--pd-muted, #94a3b8);
    font-weight: 700;
}

.pduaaf-order-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--pd-heading, #1e293b);
    font-weight: 800;
}

.pduaaf-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pduaaf-order-status .pduaaf-status {
    padding: 5px 12px;
    border-radius: var(--pd-radius-button, 6px);
    font-size: 12px;
    font-weight: 600;
}

.pduaaf-status-pending {
    background: var(--pd-status-pending, #f59e0b);
    color: #fff;
}

.pduaaf-status-processing {
    background: var(--pd-status-processing, #3b82f6);
    color: #fff;
}

.pduaaf-status-completed {
    background: var(--pd-status-completed, #22c55e);
    color: #fff;
}

.pduaaf-status-cancelled,
.pduaaf-status-failed {
    background: var(--pd-status-cancelled, #ef4444);
    color: #fff;
}

/* === Products Grid === */
.pduaaf-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.pduaaf-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pd-border, #e2e8f0);
}

.pduaaf-section-header h2 {
    margin: 0;
    color: var(--pd-heading, #1f2a44);
    font-size: 21px;
    font-weight: 900;
}

.pduaaf-inline-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pduaaf-inline-filter input[type="text"],
.pduaaf-inline-filter select {
    max-width: 320px;
    background: #f3f4f6;
    border-color: transparent;
    font-weight: 700;
}

.pduaaf-area input[type="text"],
.pduaaf-area input[type="number"],
.pduaaf-area input[type="email"],
.pduaaf-area textarea,
.pduaaf-area select {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-button, 6px);
    padding: 8px 10px;
    background: #fff;
}

.pduaaf-empty-state {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    background: var(--pd-surface, #fff);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.pduaaf-empty-state .dashicons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px !important;
    height: 78px !important;
    margin-bottom: 14px;
    border-radius: 22px;
    background: #f3f4f6;
    color: #a8b0c3 !important;
    font-size: 38px !important;
}

.pduaaf-empty-state h3 {
    max-width: 520px;
    margin: 0 0 14px !important;
    color: var(--pd-heading, #1f2a44) !important;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.9;
}

.pduaaf-empty-state p {
    max-width: 560px;
    color: var(--pd-muted, #a8b0c3) !important;
    font-weight: 700;
}

.pduaaf-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.pduaaf-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.pduaaf-address-card {
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    background: var(--pd-surface, #fff);
    padding: 14px;
}

.pduaaf-addresses-page.layout-2 .pduaaf-address-grid {
    display: block;
}

.pduaaf-addresses-page.layout-2 .pduaaf-address-card {
    margin-bottom: 12px;
    border-right: 4px solid var(--pd-primary, #1e40af);
}

.pduaaf-profile-page h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    color: var(--pd-heading, #1e293b);
}

.pduaaf-profile-page p {
    margin-bottom: 12px;
}

.pduaaf-profile-page small {
    display: inline-block;
    margin-right: 8px;
}

.pduaaf-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pduaaf-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.pduaaf-thread-item {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--pd-border, #e2e8f0);
}

.pduaaf-thread-item.is-admin {
    background: #eff6ff;
}

.pduaaf-thread-item.is-user {
    background: #f8fafc;
}

.pduaaf-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pduaaf-gallery img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--pd-border, #e2e8f0);
}

.pduaaf-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pduaaf-step {
    padding: 8px 12px;
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: 999px;
    background: #fff;
    color: var(--pd-muted, #94a3b8);
}

.pduaaf-step.is-done {
    color: #fff;
    background: var(--pd-success, #22c55e);
    border-color: var(--pd-success, #22c55e);
}

.pduaaf-step.is-active {
    color: #fff;
    background: var(--pd-primary, #1e40af);
    border-color: var(--pd-primary, #1e40af);
    animation: pduaaf-pulse 1.8s ease-in-out infinite;
}

.pduaaf-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.pduaaf-confirm-modal .pduaaf-modal-content {
    max-width: 420px;
}

.pduaaf-order-datasheets {
    padding-right: 18px;
}

.pduaaf-order-datasheets li {
    margin-bottom: 8px;
}

.pduaaf-order-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pduaaf-order-products-table-wrap {
    overflow-x: auto;
}

.pduaaf-product-card {
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-card, 8px);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.pduaaf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.pduaaf-product-card img {
    width: 100%;
    height: auto;
    border-radius: var(--pd-radius-card, 8px);
    margin-bottom: 10px;
}

.pduaaf-product-card h4 {
    font-size: 14px;
    margin: 10px 0;
    color: var(--pd-heading, #1e293b);
}

.pduaaf-product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: var(--pd-primary, #1e40af);
}

/* === Wishlist Button === */
.pduaaf-wishlist-btn {
    background: transparent;
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-button, 6px);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.pduaaf-wishlist-btn:hover {
    background: var(--pd-primary, #1e40af);
    border-color: var(--pd-primary, #1e40af);
    color: #fff;
}

.pduaaf-wishlist-btn.in-wishlist {
    background: color-mix(in srgb, var(--pd-error, #ef4444) 10%, #fff);
    border-color: color-mix(in srgb, var(--pd-error, #ef4444) 28%, #fff);
    color: var(--pd-error, #ef4444);
}

/* === Modal === */
.pduaaf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.pduaaf-modal-overlay {
    position: absolute;
    inset: 0;
}

.pduaaf-modal.active {
    display: flex;
}

.pduaaf-modal-content {
    background: var(--pd-surface, #fff);
    border-radius: var(--pd-radius-card, 8px);
    padding: 26px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: pduaaf-fade-in 0.3s ease;
}

.pduaaf-modal-header h2 {
    margin: 0 0 6px;
    color: var(--pd-heading, #1e293b);
    font-size: 22px;
}

.pduaaf-modal-header p {
    margin: 0 0 18px;
    color: var(--pd-muted, #94a3b8);
    font-size: 13px;
    font-weight: 700;
}

.pduaaf-bom-picker-modal .pduaaf-modal-content {
    max-width: 760px;
    padding: 22px;
}

.pduaaf-bom-picker-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.pduaaf-bom-picker-toolbar input,
.pduaaf-bom-create-inline input,
.pduaaf-bom-create-inline textarea {
    width: 100%;
    border: 1px solid var(--pd-border, #e2e8f0);
    border-radius: var(--pd-radius-button, 8px);
    background: #f3f4f6;
    padding: 11px 14px;
    color: var(--pd-heading, #1e293b);
    font-weight: 700;
}

.pduaaf-bom-create-inline {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pd-border, #e2e8f0);
}

.pduaaf-bom-picker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 265px;
    overflow-y: auto;
    padding-left: 4px;
}

.pduaaf-bom-picker-row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: var(--pd-radius-card, 8px);
    background: #f4f7fb;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pduaaf-bom-picker-row.is-selected,
.pduaaf-bom-picker-row:hover {
    border-color: color-mix(in srgb, var(--pd-primary, #ff9800) 34%, #fff);
    background: color-mix(in srgb, var(--pd-primary, #ff9800) 8%, #fff);
}

.pduaaf-bom-picker-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
}

.pduaaf-bom-picker-title {
    color: var(--pd-heading, #1e293b);
    font-size: 15px;
    font-weight: 900;
}

.pduaaf-bom-picker-count {
    color: #a8b0c3;
    font-size: 14px;
    font-weight: 900;
}

.pduaaf-bom-picker-empty {
    padding: 18px;
    border-radius: var(--pd-radius-card, 8px);
    background: #f4f7fb;
    color: var(--pd-muted, #94a3b8);
    text-align: center;
    font-weight: 800;
}

.pduaaf-bom-picker-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pd-border, #e2e8f0);
}

.pduaaf-bom-quantity-label {
    margin-left: auto;
    color: var(--pd-heading, #1e293b);
    font-weight: 900;
}

.pduaaf-bom-list-count-field {
    display: inline-flex;
    align-items: center;
    width: 108px;
}

.pduaaf-bom-list-count-field .pduaaf-bom-list-count-input {
    width: 132px !important;
    min-width: 0;
    height: 46px;
    text-align: center;
    font-weight: 900;
}

.pduaaf-floating-notice {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10000;
    max-width: min(360px, calc(100vw - 44px));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.pduaaf-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--pd-muted, #94a3b8);
}

.pduaaf-modal-close:hover {
    background: color-mix(in srgb, var(--pd-error, #ef4444) 9%, #fff);
    border-color: color-mix(in srgb, var(--pd-error, #ef4444) 45%, #fff);
    color: var(--pd-error, #ef4444);
}

/* === Bijan-inspired account polish === */
.woocommerce-account .woocommerce-MyAccount-navigation {
    border-radius: 28px;
    padding-top: 28px;
    background: var(--pd-surface, #fff);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.pduaaf-account-nav-profile {
    position: relative;
    margin: 0 0 12px;
    padding: 30px 18px 12px;
    text-align: center;
    background: radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--pd-border, #e2e8f0) 55%, transparent) 0 2px, transparent 3px);
    border-radius: 28px 28px 10px 10px;
}

.pduaaf-account-nav-profile::before {
    content: "";
    position: absolute;
    top: -26px;
    right: 24px;
    width: 86px;
    height: 42px;
    border-radius: 0 0 44px 44px;
    background: #f6f7f9;
}

.pduaaf-account-nav-avatar {
    position: relative;
    z-index: 1;
    width: 82px;
    height: 82px;
    margin: 0 auto 10px;
    border: 4px solid var(--pd-primary, #ff9800);
    border-radius: 50%;
    padding: 3px;
    background: #fff;
    overflow: hidden;
}

.pduaaf-account-nav-avatar img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pduaaf-account-avatar-placeholder {
    position: absolute;
    inset: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #f1f4f9, #e6ebf3);
    color: #9aa4b5;
}

.pduaaf-account-avatar-placeholder .dashicons {
    width: 34px;
    height: 34px;
    font-size: 34px;
}

.pduaaf-account-nav-profile strong {
    display: block;
    color: var(--pd-heading, #1e293b);
    font-size: 15px;
    font-weight: 900;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    padding: 8px 16px 22px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 48px;
    padding: 9px 52px 9px 12px;
    border-radius: 11px;
    background: #f0f1f3;
    color: #9aa1ad;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    flex-basis: auto;
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::after {
    right: 20px;
    width: 16px;
    height: 16px;
    text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: var(--pd-primary, #ff9800);
}

.pduaaf-section {
    position: relative;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.pduaaf-section::before,
.pduaaf-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 38px;
    width: 88px;
    height: 16px;
    border-radius: 0 0 28px 28px;
    background: #f6f7f9;
}

.pduaaf-section-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pduaaf-section-header h2 .dashicons {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0f1f3;
    color: #9aa1ad;
}

.pduaaf-stats-grid {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.pduaaf-stat-card {
    position: relative;
    border: 0;
    border-radius: 22px;
}

.pduaaf-stat-icon {
    position: relative;
    width: 66px;
    height: 66px;
    color: #9aa1ad;
    background: #f0f1f3;
}

.pduaaf-stat-icon::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -14px;
    width: 44px;
    height: 44px;
    background-image: radial-gradient(#e4e7ec 1.6px, transparent 1.6px);
    background-size: 9px 9px;
}

.pduaaf-stat-content h3 {
    color: #5e636b;
    font-weight: 900;
}

.pduaaf-orders-list {
    gap: 10px;
}

.pduaaf-order-item {
    border-radius: 10px;
    background: #fbfcfe;
    box-shadow: none;
}

.pduaaf-view-all {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 15px;
    border-radius: 8px;
    background: var(--pd-primary, #2563eb);
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
}

/* === Forms === */
.pduaaf-panel-form,
.pduaaf-profile-page form,
.pduaaf-area form:not(.cart) {
    width: 100%;
}

.pduaaf-form-grid,
.pduaaf-panel-form,
.pduaaf-area form:not(.cart):not(#pduaaf-profile-form):not(.pduaaf-inline-filter):not(.pduaaf-orders-filter):not(#pduaaf-bom-create-inline-form):not(#pduaaf-add-to-bom-form) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.pduaaf-area form p,
.pduaaf-inline-filter label,
.pduaaf-orders-filter label {
    margin: 0;
}

.pduaaf-area label {
    display: block;
    margin-bottom: 8px;
    color: var(--pd-heading, #1e293b);
    font-size: 13px;
    font-weight: 800;
}

.pduaaf-inline-filter label span,
.pduaaf-orders-filter label span {
    display: block;
    margin-bottom: 8px;
}

.pduaaf-area input[type="text"],
.pduaaf-area input[type="number"],
.pduaaf-area input[type="email"],
.pduaaf-area input[type="tel"],
.pduaaf-area input[type="date"],
.pduaaf-area input[type="search"],
.pduaaf-area textarea,
.pduaaf-area select {
    max-width: none;
    min-height: 52px;
    border-color: #e4eaf3;
    border-radius: 9px;
    background: #fbfcff;
    color: var(--pd-heading, #1e293b);
    font-size: 14px;
    font-weight: 700;
}

.pduaaf-area textarea {
    min-height: 112px;
}

.pduaaf-area small {
    display: block;
    margin-top: 7px;
    color: #8da0bf;
    font-weight: 700;
}

.pduaaf-form-wide,
.pduaaf-form-actions,
.pduaaf-checkbox-row {
    grid-column: 1 / -1;
}

.pduaaf-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pduaaf-form-actions-end {
    justify-content: flex-end;
}

.pduaaf-checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.pduaaf-checkbox-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pduaaf-accordion-section {
    margin-bottom: 18px;
    border: 1px solid #e4eaf3;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.pduaaf-accordion-section summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 16px 22px;
    cursor: pointer;
    list-style: none;
}

.pduaaf-accordion-section summary::-webkit-details-marker {
    display: none;
}

.pduaaf-accordion-section summary::after {
    content: "\f347";
    margin-right: auto;
    color: #83a0cc;
    font-family: dashicons;
}

.pduaaf-accordion-section[open] summary::after {
    content: "\f343";
}

.pduaaf-accordion-section summary .dashicons {
    color: var(--pd-error, #ef3340);
}

.pduaaf-accordion-section summary strong {
    color: #10204a;
    font-size: 16px;
    font-weight: 900;
}

.pduaaf-accordion-section summary small {
    margin: 0 18px 0 0;
}

.pduaaf-accordion-section .pduaaf-form-grid,
.pduaaf-accordion-section .pduaaf-form-actions {
    padding: 0 22px 22px;
}

/* === BOM modal refinement === */
.pduaaf-modal {
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(3px);
}

.pduaaf-modal-content {
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.pduaaf-bom-picker-modal .pduaaf-modal-content {
    max-width: 820px;
}

.pduaaf-bom-picker-toolbar {
    justify-content: flex-end;
}

.pduaaf-bom-picker-toolbar input {
    max-width: 320px;
    border-radius: 999px;
    text-align: right;
}

.pduaaf-bom-create-inline {
    grid-template-columns: auto 1fr 1.2fr;
}

.pduaaf-bom-create-inline .button {
    order: -1;
    background: var(--pd-error, #ef3340);
    border-color: var(--pd-error, #ef3340);
}

.pduaaf-bom-picker-row {
    grid-template-columns: 38px 1fr auto;
    min-height: 58px;
    border-radius: 12px;
    background: #f4f7fb;
}

.pduaaf-bom-picker-check {
    border: 1px solid #e4eaf3;
    border-radius: 10px;
}

.pduaaf-bom-picker-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.pduaaf-bom-picker-footer {
    gap: 12px;
}

/* === Tickets === */
.pduaaf-ticket-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.pduaaf-ticket-status-card {
    display: flex;
    min-height: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    background: #f9fbff;
    color: var(--pd-heading, #1e293b) !important;
    font-weight: 900;
}

.pduaaf-ticket-status-card .dashicons {
    font-size: 28px;
    color: #111827;
}

.pduaaf-ticket-status-card.is-active {
    border-color: var(--pd-primary, #2563eb);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.pduaaf-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pduaaf-ticket-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) 110px 80px 150px auto;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 18px;
    border: 1px solid #e4eaf3;
    border-right: 4px solid #9aa1ad;
    border-radius: 15px;
    background: #fff;
}

.pduaaf-ticket-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pduaaf-ticket-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9aa1ad;
}

.pduaaf-ticket-row-open,
.pduaaf-ticket-status-open {
    border-right-color: var(--pd-error, #ef3340);
}

.pduaaf-ticket-row-open .pduaaf-ticket-dot {
    background: var(--pd-error, #ef3340);
}

.pduaaf-ticket-row-answered,
.pduaaf-ticket-status-answered {
    border-right-color: var(--pd-success, #22c55e);
}

.pduaaf-ticket-row-answered .pduaaf-ticket-dot {
    background: var(--pd-success, #22c55e);
}

.pduaaf-ticket-row-closed,
.pduaaf-ticket-status-closed {
    border-right-color: var(--pd-warning, #f59e0b);
}

.pduaaf-ticket-row-closed .pduaaf-ticket-dot {
    background: var(--pd-warning, #f59e0b);
}

.pduaaf-ticket-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* === Addresses === */
.pduaaf-addresses-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pduaaf-addresses-hero h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 900;
}

.pduaaf-addresses-hero p {
    margin: 0;
    color: #73829a;
    font-weight: 800;
}

.pduaaf-address-count {
    display: grid;
    grid-template-columns: 52px auto;
    align-items: center;
    column-gap: 12px;
}

.pduaaf-address-count .dashicons {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pd-primary, #2563eb) 13%, #fff);
    color: var(--pd-primary, #2563eb);
    font-size: 26px;
}

.pduaaf-address-add-full {
    width: 100%;
    min-height: 58px;
    margin-bottom: 28px;
}

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

.pduaaf-address-card {
    min-height: 250px;
    padding: 26px;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pduaaf-address-card.is-default {
    border-color: var(--pd-primary, #2563eb);
}

.pduaaf-address-card h3 {
    margin: 26px 0 18px;
    color: #111827;
    font-size: 20px;
    font-weight: 900;
}

.pduaaf-address-card p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 11px;
    color: #64748b;
    font-weight: 800;
    line-height: 1.8;
}

.pduaaf-address-card p .dashicons {
    color: #aab4c3;
}

.pduaaf-address-actions {
    justify-content: flex-start;
}

.pduaaf-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pd-primary, #2563eb);
    cursor: pointer;
}

.pduaaf-icon-button.pduaaf-delete-address {
    color: var(--pd-error, #ef3340);
}

.pduaaf-address-default-actions {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #edf1f6;
}

.pduaaf-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--pd-primary, #2563eb);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.pduaaf-elementor-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.pduaaf-elementor-product-card {
    min-width: 0;
}

/* === Final panel refinements === */
.pduaaf-empty-state-compact {
    min-height: 170px;
    padding: 34px 20px;
}

.pduaaf-orders-filter {
    display: grid !important;
    grid-template-columns: minmax(190px, 260px) minmax(280px, 1fr) auto;
    align-items: end;
    gap: 16px;
    margin: 0 0 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e8edf5;
}

.pduaaf-orders-filter label {
    min-width: 0;
}

.pduaaf-orders-filter .pduaaf-filter-search {
    min-width: 0;
}

.pduaaf-orders-filter .button {
    min-height: 52px;
    padding-inline: 28px;
}

.pduaaf-dashboard-ticket-table {
    overflow-x: auto;
}

.pduaaf-dashboard-ticket-head,
.pduaaf-dashboard-ticket-row {
    display: grid;
    grid-template-columns: 130px minmax(180px, 1fr) 120px 130px 150px 96px;
    align-items: center;
    gap: 10px;
    min-width: 760px;
}

.pduaaf-dashboard-ticket-head {
    min-height: 54px;
    padding: 0 16px;
    border-radius: 12px 12px 0 0;
    background: #f1f3f7;
    color: #39445c;
    font-size: 13px;
    font-weight: 900;
}

.pduaaf-dashboard-ticket-row {
    min-height: 58px;
    padding: 10px 16px;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
    color: var(--pd-heading, #1e293b);
    font-weight: 800;
}

.pduaaf-modal .pduaaf-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 1px solid #e3eaf4;
    border-radius: 8px;
    background: #fff;
    color: var(--pd-error, #ef3340);
    font-size: 30px;
    line-height: 1;
    box-shadow: none;
}

.pduaaf-modal .pduaaf-modal-close:hover {
    transform: none;
    background: #fff5f6;
    border-color: var(--pd-error, #ef3340);
}

.pduaaf-modal-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.pduaaf-modal-form .form-group {
    margin: 0;
}

.pduaaf-modal-form label {
    display: block;
    margin-bottom: 9px;
    color: var(--pd-heading, #1e293b);
    font-size: 14px;
    font-weight: 900;
}

.pduaaf-modal input[type="text"],
.pduaaf-modal input[type="number"],
.pduaaf-modal input[type="url"],
.pduaaf-modal input[type="search"],
.pduaaf-modal textarea,
.pduaaf-modal select {
    width: 100%;
    max-width: none;
    min-height: 54px;
    padding: 11px 16px;
    border: 1px solid #e3eaf4;
    border-radius: 9px;
    background: #f7f9fc;
    color: var(--pd-heading, #1e293b);
    font-size: 14px;
    font-weight: 800;
    box-shadow: none;
}

.pduaaf-modal textarea {
    min-height: 128px;
}

.pduaaf-bom-picker-modal .pduaaf-modal-content {
    width: min(920px, calc(100vw - 44px));
    padding: 34px 28px 28px;
    border-radius: 14px;
}

.pduaaf-bom-picker-modal .pduaaf-modal-header {
    padding-left: 76px;
    margin-bottom: 22px;
}

.pduaaf-bom-picker-modal .pduaaf-modal-header h2 {
    margin-bottom: 8px;
    color: #17213b;
    font-size: 28px;
    font-weight: 900;
}

.pduaaf-bom-picker-toolbar {
    margin-bottom: 16px;
}

.pduaaf-bom-picker-toolbar input {
    max-width: 360px;
}

.pduaaf-bom-create-inline {
    grid-template-columns: auto minmax(220px, 1fr) minmax(260px, 1.2fr);
    align-items: stretch;
    gap: 12px;
}

.pduaaf-bom-create-inline input,
.pduaaf-bom-create-inline textarea {
    min-height: 58px;
}

.pduaaf-bom-create-inline textarea {
    min-height: 58px;
    resize: vertical;
}

.pduaaf-bom-create-inline .button {
    min-width: 146px;
    min-height: 58px;
}

.pduaaf-bom-picker-empty {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8b1c4;
    font-size: 16px;
    font-weight: 900;
}

.pduaaf-bom-picker-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.pduaaf-bom-quantity-label {
    flex: 1 1 auto;
    margin: 0;
    white-space: nowrap;
}

.pduaaf-bom-picker-footer .pduaaf-bom-list-count-field {
    flex: 0 0 auto;
}

.pduaaf-bom-picker-footer .button {
    flex: 0 0 auto;
    min-width: 108px;
    white-space: nowrap;
}

.pduaaf-bom-picker-modal .pduaaf-bom-list-count-field,
#pduaaf-bom-modal #pduaaf-bom-list-count-field {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 108px !important;
    min-width: 128px !important;
    max-width: 142px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
}

#pduaaf-bom-modal #pduaaf-bom-list-count-field .pduaaf-bom-list-count-input {
    appearance: textfield !important;
    display: block !important;
    float: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid var(--pd-border, #e2e8f0) !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    color: var(--pd-heading, #1e293b) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 46px !important;
    text-align: center !important;
}

#pduaaf-bom-modal .pduaaf-bom-qty-step {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    color: var(--pd-heading, #1f2a44);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

#pduaaf-bom-modal .qty-wrap-added {
    display: contents !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 0 !important;
}

#pduaaf-bom-modal .qty-wrap-added .qty-minus,
#pduaaf-bom-modal .qty-wrap-added .qty-plus {
    display: none !important;
}

#pduaaf-bom-modal #pduaaf-bom-list-count-input::-webkit-outer-spin-button,
#pduaaf-bom-modal #pduaaf-bom-list-count-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.pduaaf-ticket-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.pduaaf-ticket-status-card,
.pduaaf-ticket-status-card:hover,
.pduaaf-ticket-status-card:focus {
    text-decoration: none !important;
}

.pduaaf-ticket-status-card {
    min-height: 112px;
    padding: 16px 12px;
    gap: 6px;
    overflow: hidden;
}

.pduaaf-ticket-status-card .dashicons {
    width: 32px;
    height: 32px;
    font-size: 32px;
    line-height: 32px;
}

.pduaaf-ticket-status-card strong,
.pduaaf-ticket-status-card b {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.45;
    text-decoration: none !important;
}

.pduaaf-ticket-status-card strong {
    font-size: 15px;
}

.pduaaf-ticket-status-card b {
    font-size: 17px;
}

/* === Loading Spinner === */
.pduaaf-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--pd-border, #e2e8f0);
    border-top-color: var(--pd-primary, #1e40af);
    border-radius: 50%;
    animation: pduaaf-spin 0.6s linear infinite;
}

/* === Responsive === */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        margin-left: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
        padding: 22px 0 16px;
        border-radius: 24px;
        overflow: hidden;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 12px 14px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        border-bottom: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        min-height: 54px;
        padding: 12px 76px 12px 18px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.7;
        white-space: normal;
        overflow: hidden;
        text-align: right;
        word-break: keep-all;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a::before {
        right: 16px;
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a::after {
        right: 26px;
        width: 24px;
        height: 24px;
        font-size: 24px;
        line-height: 24px;
        text-align: center;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a:hover,
    .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
        transform: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a:hover::before,
    .woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
        background: rgba(255, 255, 255, 0.18);
    }

    .pduaaf-account-nav-profile {
        margin-bottom: 16px;
        padding: 28px 16px 18px;
    }

    .pduaaf-account-nav-profile::before {
        top: -30px;
        right: auto;
        left: 44px;
        width: 86px;
        height: 60px;
        border-radius: 0 0 44px 44px;
    }

    .pduaaf-account-nav-avatar {
        width: 92px;
        height: 92px;
        margin-bottom: 14px;
        border-width: 5px;
    }

    .pduaaf-account-nav-profile strong {
        font-size: 18px;
        line-height: 1.7;
    }

    .pduaaf-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pduaaf-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pduaaf-order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pduaaf-order-meta,
    .pduaaf-bom-picker-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .pduaaf-bom-picker-footer {
        gap: 10px;
    }

    .pduaaf-bom-picker-footer .pduaaf-bom-quantity-label {
        flex: 0 0 auto;
        text-align: right;
    }

    .pduaaf-bom-picker-footer .pduaaf-bom-list-count-field {
        align-self: flex-start;
    }

    .pduaaf-bom-picker-footer .button {
        width: 100%;
    }

    .pduaaf-bom-create-inline {
        grid-template-columns: 1fr;
    }

    .pduaaf-bom-picker-row {
        grid-template-columns: 32px 1fr;
    }

    .pduaaf-bom-picker-count {
        grid-column: 2;
    }

    .pduaaf-bom-picker-modal .pduaaf-modal-content {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        padding: 18px;
    }

    .pduaaf-item-row {
        grid-template-columns: 1fr;
    }

    .pduaaf-form-grid,
    .pduaaf-panel-form,
    .pduaaf-area form:not(.cart):not(#pduaaf-profile-form):not(.pduaaf-inline-filter):not(.pduaaf-orders-filter):not(#pduaaf-bom-create-inline-form):not(#pduaaf-add-to-bom-form),
    .pduaaf-ticket-row,
    .pduaaf-address-grid,
    .pduaaf-elementor-product-grid {
        grid-template-columns: 1fr !important;
    }

    .pduaaf-addresses-hero {
        flex-direction: column;
    }

    .pduaaf-ticket-actions {
        justify-content: flex-start;
    }

    .pduaaf-bom-create-inline {
        grid-template-columns: 1fr;
    }

    .pduaaf-orders-filter {
        grid-template-columns: 1fr !important;
    }

    .pduaaf-orders-filter .button,
    .pduaaf-bom-create-inline .button {
        width: 100%;
    }

    .pduaaf-ticket-status-card {
        min-height: 96px;
    }

    .pduaaf-ticket-status-card strong {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

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

    .pduaaf-section {
        padding: 16px;
    }
}

/* === Sep 2026 specification alignment === */
.pduaaf-svg-icon {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    flex: 0 0 auto;
    vertical-align: middle;
}

.pduaaf-area .button,
.pduaaf-area button.button,
.pduaaf-area a.button,
.pduaaf-modal .button,
.pduaaf-modal button.button,
.pduaaf-modal a.button,
.woocommerce-account .woocommerce-MyAccount-content .pduaaf-area .button {
    min-height: 42px;
    padding: 10px 25px;
    border: 0 !important;
    border-radius: 15px !important;
    background: var(--pd-accent, #E1031C);
    box-shadow: 0 12px 22px color-mix(in srgb, var(--pd-accent, #E1031C) 28%, transparent);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.pduaaf-area .button-small,
.pduaaf-modal .button-small {
    min-height: 34px;
    padding: 7px 16px;
    font-size: 0.86rem;
}

.pduaaf-area .button-secondary,
.pduaaf-area .button.button-secondary,
.pduaaf-modal .button-secondary,
.pduaaf-modal .button.button-secondary {
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    color: var(--pd-heading, #1f2a44);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 310px;
    margin-left: 28px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 338px);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex;
    align-items: right;
    min-height: 58px;
    padding: 10px 76px 10px 16px !important;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.55;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::after,
.pduaaf-account-nav-profile::before,
.pduaaf-section::before,
.pduaaf-stat-card::before {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.pduaaf-nav-svg {
    position: absolute;
    right: 26px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    color: var(--pd-accent, #E1031C);
    z-index: 1;
}

.pduaaf-inline-filter,
.pduaaf-orders-filter {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) auto;
    align-items: end;
    gap: 12px;
    width: 100%;
}

.pduaaf-inline-filter label,
.pduaaf-orders-filter label {
    display: block;
    min-width: 0;
    margin: 0;
}

.pduaaf-inline-filter input[type="text"],
.pduaaf-inline-filter input[type="search"],
.pduaaf-inline-filter select,
.pduaaf-orders-filter input[type="text"],
.pduaaf-orders-filter input[type="search"],
.pduaaf-orders-filter select {
    width: 100%;
    max-width: none !important;
    min-height: 52px;
    margin: 0;
}

.pduaaf-inline-filter .button,
.pduaaf-orders-filter .button {
    min-height: 52px;
    white-space: nowrap;
}

.pduaaf-section-header {
    align-items: center;
}

.pduaaf-section-header .button {
    white-space: nowrap;
}

.pduaaf-wishlist-live-filter {
    grid-template-columns: minmax(260px, 360px) !important;
    justify-content: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover .pduaaf-nav-svg,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a .pduaaf-nav-svg {
    color: #fff;
}

.pduaaf-account-nav-profile {
    padding-top: 18px;
}

.pduaaf-account-nav-avatar {
    margin-top: -10px;
}

.pduaaf-section,
.pduaaf-stat-card,
.pduaaf-address-card,
.pduaaf-product-card,
.pduaaf-bom-list-card,
.pduaaf-wishlist-item {
    border: 0 !important;
    border-radius: 20px !important;
    box-shadow: var(--pd-card-shadow, 2px 2px 10px 2px rgba(15, 23, 42, 0.08)) !important;
}

.pduaaf-section-header h2 {
    gap: 12px;
    color: var(--pd-heading, #1f2a44);
    font-size: 1.35rem;
    font-weight: 900;
}

.pduaaf-section-header h2 > .pduaaf-svg-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 12px;
    background: #f0f1f3;
    color: #9aa1ad;
}

.pduaaf-profile-incomplete {
    align-items: flex-start;
    min-height: 0;
    border-radius: 28px !important;
}

.pduaaf-profile-incomplete .pduaaf-notice-content h3 {
    font-size: 1.55rem;
    font-weight: 900;
}

.pduaaf-profile-incomplete .button {
    margin-top: 12px;
    align-self: flex-start;
}

.pduaaf-profile-incomplete .pduaaf-progress-bar {
    width: min(320px, 100%);
}

.pduaaf-notice {
    min-height: 76px;
    padding: 14px 18px;
    border: 0;
    border-right: 6px solid currentColor;
    border-radius: 16px;
    box-shadow: 0 12px 24px color-mix(in srgb, currentColor 14%, transparent);
}

.pduaaf-notice-info {
    background: #EBF7FF;
    color: #199CF4;
}

.pduaaf-notice-warning {
    background: #FFFAED;
    color: #FCC221;
}

.pduaaf-notice-error,
.pduaaf-notice-danger {
    background: color-mix(in srgb, var(--pd-error, #ef4444) 10%, #fff);
    color: var(--pd-error, #ef4444);
}

.pduaaf-notice-content h3,
.pduaaf-announcement-content h3 {
    color: currentColor;
}

.pduaaf-stat-card {
    min-width: 180px;
}

.pduaaf-stat-icon {
    overflow: visible;
}

.pduaaf-stat-icon .pduaaf-svg-icon {
    width: 32px;
    height: 32px;
}

.pduaaf-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px !important;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.pduaaf-status-pending {
    background: #FBB5CF !important;
    color: #FB1B6F !important;
}

.pduaaf-status-processing {
    background: #E5EDFC !important;
    color: #5A8DEE !important;
}

.pduaaf-status-on-hold {
    background: #F9E8C7 !important;
    color: #FCA500 !important;
}

.pduaaf-status-completed {
    background: #DFF9EC !important;
    color: #39DA8A !important;
}

.pduaaf-status-cancelled,
.pduaaf-status-failed {
    background: #FFE5E5 !important;
    color: #FF5B5C !important;
}

.pduaaf-status-refunded {
    background: #E2E4E6 !important;
    color: #495563 !important;
}

.pduaaf-status-shipped {
    background: #D6F7FA !important;
    color: #00CFDD !important;
}

.pduaaf-external-status-pending {
    background: #EDF5FD !important;
    color: #1E67F0 !important;
}

.pduaaf-external-status-pricing {
    background: #F7F5FF !important;
    color: #8250F9 !important;
}

.pduaaf-external-status-customer_review {
    background: #FEF5E4 !important;
    color: #FC9F01 !important;
}

.pduaaf-external-status-price_approved {
    background: #D6F7FA !important;
    color: #00B7DB !important;
}

.pduaaf-external-status-awaiting_prepayment {
    background: #FEF3E4 !important;
    color: #FC7110 !important;
}

.pduaaf-external-status-cancelled {
    background: #FFE5E5 !important;
    color: #FF5B5C !important;
}

.pduaaf-external-status-sourcing {
    background: #EFF1FE !important;
    color: #5567F5 !important;
}

.pduaaf-external-status-customs {
    background: #F4F8FB !important;
    color: #5F748F !important;
}

.pduaaf-external-status-final_payment {
    background: #FFF2F9 !important;
    color: #EE4398 !important;
}

.pduaaf-external-status-ready_delivery {
    background: #EAFFBD !important;
    color: #83C000 !important;
}

.pduaaf-external-status-delivered {
    background: #ECFDF3 !important;
    color: #02BA77 !important;
}

.pduaaf-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.pduaaf-status-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 6px 12px;
    min-height: 96px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--pd-card-shadow);
    color: var(--pd-heading, #1f2a44) !important;
}

.pduaaf-status-card .pduaaf-svg-icon {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 14px;
    background: #f0f1f3;
    color: #9aa1ad;
}

.pduaaf-status-card strong {
    font-size: 1.35rem;
    font-weight: 900;
}

.pduaaf-status-card span {
    font-size: 0.85rem;
    font-weight: 800;
}

.pduaaf-status-card.is-active {
    outline: 2px solid color-mix(in srgb, var(--pd-accent, #E1031C) 55%, #fff);
}

.pduaaf-order-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.pduaaf-order-thumbnails img {
    width: 52px !important;
    height: 52px !important;
    object-fit: cover;
    border-radius: 12px !important;
}

.pduaaf-wizard-panel {
    display: none;
    animation: pduaaf-fade-in 0.25s ease;
}

.pduaaf-wizard-panel.is-active {
    display: block;
}

.pduaaf-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pduaaf-method-card {
    display: grid;
    gap: 10px;
    min-height: 210px;
    padding: 24px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--pd-card-shadow);
    color: var(--pd-heading, #1f2a44);
    cursor: pointer;
    text-align: right;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pduaaf-method-card:hover,
.pduaaf-method-card.is-selected {
    transform: translateY(-2px) scale(1.01);
    border-color: var(--pd-accent, #E1031C);
}

.pduaaf-method-card .pduaaf-svg-icon {
    width: 54px;
    height: 54px;
    padding: 13px;
    border-radius: 16px;
    background: #f0f1f3;
    color: var(--pd-accent, #E1031C);
}

.pduaaf-method-card strong {
    font-size: 1.15rem;
    font-weight: 900;
}

.pduaaf-template-link {
    width: fit-content;
}

.pduaaf-dropzone {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 34px;
    border: 2px dashed #d7dfec;
    border-radius: 20px;
    background: #fbfcff;
    text-align: center;
}

.pduaaf-dropzone .pduaaf-svg-icon {
    width: 58px;
    height: 58px;
    color: var(--pd-accent, #E1031C);
}

.pduaaf-items-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 14px;
}

.pduaaf-external-item-head,
.pduaaf-external-item-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 90px 110px 1fr 70px;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}

.pduaaf-external-item-head {
    border-radius: 14px 14px 0 0;
    background: #f1f3f7;
    color: #39445c;
    font-weight: 900;
}

.pduaaf-external-item-row {
    border-bottom: 1px solid #edf1f6;
    background: #fff;
}

.pduaaf-external-item-row.is-invalid {
    background: #FFFAED;
}

.pduaaf-external-item-row.is-invalid strong,
.pduaaf-external-item-row.is-invalid small {
    color: var(--pd-error, #ef4444);
}

.pduaaf-external-item-row small {
    grid-column: 1 / -1;
}

.pduaaf-form-error {
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #FFF0F0;
    color: var(--pd-error, #ef4444);
    font-weight: 800;
}

.pduaaf-terms-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 18px !important;
}

.pduaaf-success-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-height: 330px;
    padding: 44px 20px;
    text-align: center;
}

.pduaaf-success-state > .pduaaf-svg-icon {
    width: 86px;
    height: 86px;
    padding: 20px;
    border-radius: 50%;
    background: #DFF9EC;
    color: #39DA8A;
}

.pduaaf-external-order-details h3,
.pduaaf-external-order-create h3 {
    margin: 0 0 16px;
    color: var(--pd-heading, #1f2a44);
    font-size: 1rem;
    font-weight: 900;
}

.pduaaf-status-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
}

.pduaaf-timeline-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 112px;
    padding: 14px 10px;
    border-radius: 18px;
    background: #f6f8fb;
    color: #8b96a8;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.pduaaf-timeline-step .pduaaf-svg-icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
}

.pduaaf-timeline-step.is-done {
    background: #ECFDF3;
    color: #02BA77;
}

.pduaaf-timeline-step.is-active {
    background: #EDF5FD;
    color: #1E67F0;
    animation: pduaaf-pulse 2.4s ease-in-out infinite;
}

.pduaaf-part-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
}

.pduaaf-warning-row {
    background: #FFFAED !important;
}

.pduaaf-warning-row td {
    color: var(--pd-error, #ef4444);
}

.pduaaf-support-box {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 4px 12px;
}

.pduaaf-support-box .pduaaf-svg-icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 13px;
    background: #EBF7FF;
    color: #199CF4;
}

.pduaaf-modal.active .pduaaf-modal-content {
    animation: pduaaf-zoom-in 0.22s ease;
}

@keyframes pduaaf-zoom-in {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pduaaf-svg-close {
    font-size: 1rem !important;
}

.pduaaf-svg-close .pduaaf-svg-icon {
    width: 24px;
    height: 24px;
}

.pduaaf-dashboard-ticket-head span {
    text-align: center;
}

.pduaaf-dashboard-ticket-row {
    font-size: 0.8rem;
    font-weight: 600;
}

.pduaaf-bom-list-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: justify;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }

    .pduaaf-method-grid,
    .pduaaf-external-item-head,
    .pduaaf-external-item-row {
        grid-template-columns: 1fr;
    }

    .pduaaf-external-item-head {
        display: none;
    }

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

/* ========================================================================
 * PandaDigit visual recovery & panel.docx fidelity layer — v1.2.1
 * This layer intentionally keeps the original stable layout and only adds
 * scoped component rules. Avoid broad theme overrides here.
 * ====================================================================== */

/* ---------- Safety / typography / links ---------- */
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce *,
.pduaaf-area,
.pduaaf-area *,
.pduaaf-modal,
.pduaaf-modal * { box-sizing: border-box; }

.pduaaf-area,
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }

.pduaaf-area a,
.pduaaf-modal a,
.woocommerce-account .woocommerce-MyAccount-navigation a {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.pduaaf-area img,
.pduaaf-area svg,
.pduaaf-modal svg { max-width: 100%; }

.pduaaf-svg-icon {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: middle;
    fill: currentColor;
}

.pduaaf-ltr { direction: ltr !important; text-align: left !important; }

/* ---------- Account shell: sidebar MUST remain on the right ---------- */
.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 310px minmax(0, 1fr) !important;
    direction: rtl !important;
    align-items: flex-start !important;
    gap: 28px !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    grid-column: 1 !important;
    order: 0 !important;
    flex: 0 0 310px !important;
    width: 310px !important;
    min-width: 310px !important;
    margin: 0 !important;
    padding: 18px 16px 20px !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: var(--pd-surface, #fff) !important;
    box-shadow: var(--pd-card-shadow, 2px 2px 10px 2px rgba(15,23,42,.08)) !important;
    overflow: hidden !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    grid-column: 2 !important;
    order: 1 !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* profile head — no decorative semicircle (client request #2) */
.pduaaf-account-nav-profile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
    padding: 0 0 18px !important;
    min-height: 150px !important;
    background: transparent !important;
    border: 0 !important;
}
.pduaaf-account-nav-profile::before,
.pduaaf-account-nav-profile::after { display: none !important; }

.pduaaf-account-nav-avatar {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 88px !important;
    height: 88px !important;
    margin: 0 auto 4px !important;
    padding: 17px !important;
    border: 5px solid var(--pd-primary, #E1031C) !important;
    border-radius: 50% !important;
    background: #eef1f5 !important;
    color: #a4adbd !important;
    box-shadow: inset 0 0 0 4px #fff !important;
    overflow: hidden !important;
}
.pduaaf-account-nav-avatar .pduaaf-svg-icon { width: 100% !important; height: 100% !important; }
.pduaaf-account-nav-profile > strong {
    display: block !important;
    max-width: 100% !important;
    color: var(--pd-heading, #1f2a44) !important;
    font-size: .98rem !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    list-style: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 9px 58px 9px 16px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #f0f1f3 !important;
    color: #9aa3b2 !important;
    box-shadow: none !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}
/* icon background square */
.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    transform: translateY(-50%) !important;
    /* border: 1px solid color-mix(in srgb, var(--pd-primary, #E1031C) 22%, #fff) !important; */
    border-radius: 11px !important;
    background: color-mix(in srgb, var(--pd-primary, #E1031C) 7%, #fff) !important;
    box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a::after { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation .pduaaf-nav-svg {
    position: absolute !important;
    z-index: 2 !important;
    top: 50% !important;
    right: 17px !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    color: var(--pd-primary, #E1031C) !important;
    pointer-events: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
    background: color-mix(in srgb, var(--pd-primary, #E1031C) 7%, #f0f1f3) !important;
    color: color-mix(in srgb, var(--pd-heading, #1f2a44) 80%, #fff) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover {
    background: var(--pd-primary, #E1031C) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--pd-primary, #E1031C) 24%, transparent) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
    border-color: rgba(255,255,255,.42) !important;
    background: rgba(255,255,255,.10) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active .pduaaf-nav-svg { color: #fff !important; }

/* ---------- Shared component fidelity ---------- */
.pduaaf-section,
.pduaaf-stat-card,
.pduaaf-address-card,
.pduaaf-product-card,
.pduaaf-bom-list-card,
.pduaaf-wishlist-item,
.pduaaf-ticket-row,
.pduaaf-order-item,
.pduaaf-method-card,
.pduaaf-status-card,
.pduaaf-account-accordion,
.pduaaf-wallet-operation-card,
.pduaaf-wallet-history-card {
    border: 0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--pd-card-shadow, 2px 2px 10px 2px rgba(15,23,42,.08)) !important;
}

.pduaaf-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid var(--pd-border, #e9edf5) !important;
}
.pduaaf-section-header h2 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: var(--pd-heading, #1f2a44) !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}
.pduaaf-section-header h2 > .pduaaf-svg-icon,
.pduaaf-page-title-icon {
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 10px !important;
    border-radius: 12px !important;
    background: #f0f1f3 !important;
    color: #9aa3b2 !important;
    flex: 0 0 42px !important;
}

.pduaaf-area .button,
.pduaaf-modal .button,
.woocommerce-account .woocommerce-MyAccount-content .pduaaf-area .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    max-width: 100% !important;
    padding: 9px 22px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: var(--pd-primary, #E1031C) !important;
    color: #fff !important;
    box-shadow: 0 9px 18px color-mix(in srgb, var(--pd-primary, #E1031C) 22%, transparent) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}
.pduaaf-area .button:hover,
.pduaaf-modal .button:hover { filter: brightness(.97); transform: none !important; }
.pduaaf-area .button-small,
.pduaaf-modal .button-small { min-height: 34px !important; padding: 6px 14px !important; font-size: .82rem !important; }
.pduaaf-area .button-light,
.pduaaf-area .button-secondary,
.pduaaf-modal .button-light,
.pduaaf-modal .button-secondary {
    border: 1px solid color-mix(in srgb, var(--pd-primary, #E1031C) 65%, #fff) !important;
    background: #fff !important;
    color: var(--pd-primary, #E1031C) !important;
    box-shadow: none !important;
}
.pduaaf-area .button-success {
    background: #56c946 !important;
    color: #fff !important;
    box-shadow: 0 9px 18px rgba(86,201,70,.22) !important;
}
.pduaaf-area .button:disabled,
.pduaaf-area .button.disabled { background: #aab1bd !important; color:#fff !important; box-shadow:none !important; opacity:.72 !important; cursor:not-allowed !important; }
.pduaaf-area .button .pduaaf-svg-icon { width: 18px !important; height: 18px !important; }

/* ---------- Forms: prevent overlap / overflow ---------- */
.pduaaf-panel-form,
.pduaaf-profile-form,
.pduaaf-wallet-operation-form,
.pduaaf-return-create form,
.pduaaf-address-edit form { width: 100% !important; min-width: 0 !important; }

/* panel-form itself is a container; its child form-grid owns the columns */
.pduaaf-panel-form { display: block !important; }

.pduaaf-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 24px !important;
    width: 100% !important;
    min-width: 0 !important;
}
.pduaaf-form-grid > *,
.pduaaf-area form p,
.pduaaf-area label { min-width: 0 !important; }
.pduaaf-form-grid p { margin: 0 !important; }
.pduaaf-form-wide { grid-column: 1 / -1 !important; }
.pduaaf-area label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #566174 !important;
    font-size: .8rem !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}
.pduaaf-area input[type="text"],
.pduaaf-area input[type="number"],
.pduaaf-area input[type="email"],
.pduaaf-area input[type="tel"],
.pduaaf-area input[type="date"],
.pduaaf-area input[type="search"],
.pduaaf-area textarea,
.pduaaf-area select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 1px solid #e1e6ef !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #465166 !important;
    box-shadow: none !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}
.pduaaf-area textarea { min-height: 150px !important; resize: vertical !important; }
.pduaaf-area select { padding-left: 36px !important; }
.pduaaf-form-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 18px !important;
}
.pduaaf-form-actions-end { justify-content: flex-end !important; }
.pduaaf-panel-form > .button-primary { margin-top: 18px !important; margin-right: auto !important; }
.pduaaf-required { color: var(--pd-primary, #E1031C) !important; }
.pduaaf-optional { color: #7f8899 !important; font-weight: 500 !important; }
.pduaaf-inline-feedback { display:block!important; min-height:22px!important; margin-top:10px!important; font-size:.82rem!important; font-weight:700!important; }
.pduaaf-inline-feedback.is-success { color:#22a06b!important; }
.pduaaf-inline-feedback.is-error, .pduaaf-form-error { color:var(--pd-primary,#E1031C)!important; }
.pduaaf-area .is-invalid { border-color:#ff6875!important; background:#fffafa!important; }
.pduaaf-area .is-valid { border-color:#72d7ad!important; background:#fbfffd!important; }

/* Profile accordions — figure 33 / page 25-26 */
.pduaaf-profile-form { display: grid !important; gap: 16px !important; }
.pduaaf-account-accordion { overflow: hidden !important; }
.pduaaf-account-accordion summary {
    display: grid !important;
    grid-template-columns: 38px minmax(0,1fr) 22px !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 68px !important;
    padding: 14px 18px !important;
    cursor: pointer !important;
    list-style: none !important;
    color: var(--pd-heading,#1f2a44) !important;
}
.pduaaf-account-accordion summary::-webkit-details-marker { display:none!important; }
.pduaaf-account-accordion summary > span { min-width:0!important; }
.pduaaf-account-accordion summary strong { display:block!important; margin:0!important; font-size:1rem!important; font-weight:900!important; line-height:1.6!important; }
.pduaaf-account-accordion summary small { display:block!important; margin:3px 0 0!important; color:#98a1b1!important; font-size:.9rem!important; font-weight:400!important; line-height:1.55!important; overflow-wrap:anywhere!important; }
.pduaaf-accordion-title-icon { display:grid!important; place-items:center!important; color:var(--pd-primary,#E1031C)!important; }
.pduaaf-accordion-title-icon .pduaaf-svg-icon { width:25px!important; height:25px!important; }
.pduaaf-accordion-body { padding:18px!important; border-top:1px solid #eef1f5!important; }
.pduaaf-input-with-action {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"input button" "badge badge"!important;
    align-items:center!important;
    gap:8px 10px!important;
    width:100%!important;
}
.pduaaf-input-with-action > input { grid-area:input!important; }
.pduaaf-input-with-action > .button { grid-area:button!important; min-height:52px!important; white-space:nowrap!important; }
.pduaaf-verification-badge { grid-area:badge!important; display:inline-flex!important; width:max-content!important; max-width:100%!important; align-items:center!important; gap:6px!important; padding:4px 9px!important; border-radius:999px!important; font-size:.74rem!important; font-weight:800!important; }
.pduaaf-verification-badge.is-unverified { background:#fff0f0!important; color:var(--pd-primary,#E1031C)!important; }
.pduaaf-verification-badge.is-verified { background:#e7faf1!important; color:#199b6b!important; }

/* Ticket/new forms — figure 39 */
.pduaaf-upload-zone {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    min-height:190px!important;
    width:100%!important;
    padding:24px!important;
    border:1px dashed #cfd6e2!important;
    border-radius:16px!important;
    background:#fff!important;
    color:#556174!important;
    text-align:center!important;
    cursor:pointer!important;
}
.pduaaf-upload-zone .pduaaf-svg-icon { width:54px!important; height:54px!important; color:var(--pd-primary,#E1031C)!important; }
.pduaaf-upload-zone strong { font-size:.9rem!important; }

/* ---------- Dashboard / notices / stat cards ---------- */
.pduaaf-dashboard > .pduaaf-notice {
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px 14px!important;
    width:100%!important;
    min-height:82px!important;
    margin:0 0 16px!important;
    padding:13px 18px!important;
    border:0!important;
    border-right:5px solid currentColor!important;
    border-radius:28px!important;
}
.pduaaf-notice-info { background:#EBF7FF!important; color:#199CF4!important; }
.pduaaf-notice-warning { background:#FFFAED!important; color:#FCC221!important; }
.pduaaf-notice-danger,.pduaaf-notice-error { background:color-mix(in srgb,var(--pd-error,#ef4444) 10%,#fff)!important;color:var(--pd-error,#ef4444)!important; }
.pduaaf-notice-icon,.pduaaf-announcement-icon { display:grid!important; place-items:center!important; width:34px!important; height:34px!important; color:currentColor!important; }
.pduaaf-notice-icon .pduaaf-svg-icon,.pduaaf-announcement-icon .pduaaf-svg-icon { width:28px!important; height:28px!important; }
.pduaaf-notice-content { min-width:0!important; }
.pduaaf-notice-content h3,.pduaaf-announcement-content h3 { margin:0 0 3px!important; color:currentColor!important; font-size:1rem!important; font-weight:900!important; }
.pduaaf-profile-incomplete .pduaaf-notice-content h3 { font-size:1.55rem!important; }
.pduaaf-notice-content p,.pduaaf-announcement-content p { margin:0!important; color:#313846!important; font-size:.82rem!important; font-weight:500!important; line-height:1.65!important; overflow-wrap:anywhere!important; }
.pduaaf-profile-incomplete .pduaaf-progress-bar { width:min(320px,100%)!important; height:5px!important; margin-top:8px!important; border-radius:999px!important; background:color-mix(in srgb,var(--pd-primary,#E1031C) 12%,transparent)!important; overflow:hidden!important; }
.pduaaf-profile-incomplete .pduaaf-progress-fill { height:100%!important; border-radius:inherit!important; background:currentColor!important; }

.pduaaf-stats-grid {
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
    width:100%!important;
    margin:0 0 20px!important;
}
.pduaaf-stat-card {
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:138px!important;
    padding:15px 9px 13px!important;
    text-align:center!important;
    overflow:hidden!important;
}
.pduaaf-stat-card::before { display:none!important; }
.pduaaf-stat-icon {
    position:relative!important;
    z-index:1!important;
    display:grid!important;
    place-items:center!important;
    width:62px!important;
    height:62px!important;
    margin:0 auto 8px!important;
    padding:15px!important;
    border-radius:16px!important;
    background:#f0f1f3!important;
    color:#a4abb7!important;
    overflow:visible!important;
}
.pduaaf-stat-icon::after {
    content:""!important;
    position:absolute!important;
    z-index:-1!important;
    right:30px!important;
    top:32px!important;
    width:55px!important;
    height:50px!important;
    background-image:radial-gradient(circle,#e5e8ed 1.8px,transparent 2px)!important;
    background-size:9px 9px!important;
}
.pduaaf-stat-icon .pduaaf-svg-icon { width:31px!important; height:31px!important; }
.pduaaf-stat-content { max-width:100%!important; min-width:0!important; }
.pduaaf-stat-content h3 { margin:0 0 3px!important; color:#555d6b!important; font-size:.98rem!important; font-weight:900!important; line-height:1.45!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; }
.pduaaf-stat-content p { margin:0!important; color:#4f5a70!important; font-size:.78rem!important; font-weight:800!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; }

/* ---------- Status cards / external orders — figures 10-12 ---------- */
.pduaaf-status-cards {
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:16px!important;
    width:100%!important;
    margin:0 0 22px!important;
}
.pduaaf-status-card {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-width:0!important;
    min-height:152px!important;
    padding:16px 10px!important;
    color:var(--pd-heading,#1f2a44)!important;
    text-align:center!important;
    overflow:hidden!important;
    outline:0!important;
}
.pduaaf-status-card > span:first-child {
    display:grid!important;
    place-items:center!important;
    width:56px!important;
    height:56px!important;
    border-radius:16px!important;
    background:#f3f1ff!important;
    color:#8b54e8!important;
}
.pduaaf-status-card > span:first-child .pduaaf-svg-icon { width:34px!important; height:34px!important; padding:0!important; background:transparent!important; color:inherit!important; }
.pduaaf-status-card strong { margin:0!important; color:#29354c!important; font-size:1.1rem!important; font-weight:900!important; line-height:1!important; }
.pduaaf-status-card small { display:block!important; min-height:38px!important; margin:0!important; color:#657086!important; font-size:.78rem!important; font-weight:800!important; line-height:1.55!important; overflow-wrap:anywhere!important; }
.pduaaf-status-card.is-active { outline:2px solid color-mix(in srgb,var(--pd-primary,#E1031C) 45%,#fff)!important; outline-offset:-2px!important; }
.pduaaf-status-cards .pduaaf-status-card:nth-child(2) > span:first-child { background:#fff3e5!important; color:#e78a1d!important; }
.pduaaf-status-cards .pduaaf-status-card:nth-child(3) > span:first-child { background:#eef4ff!important; color:#4f8fee!important; }
.pduaaf-status-cards .pduaaf-status-card:nth-child(4) > span:first-child { background:#fff0f0!important; color:#f05a68!important; }
.pduaaf-status-cards .pduaaf-status-card:nth-child(5) > span:first-child { background:#ecfaf2!important; color:#51b887!important; }

.pduaaf-inline-filter,
.pduaaf-orders-filter {
    display:grid!important;
    grid-template-columns:minmax(0,1.7fr) minmax(190px,.8fr) auto!important;
    align-items:end!important;
    gap:12px!important;
    width:100%!important;
    margin:0 0 20px!important;
}
.pduaaf-inline-filter > *, .pduaaf-orders-filter > * { min-width:0!important; }
.pduaaf-inline-filter input,
.pduaaf-inline-filter select,
.pduaaf-orders-filter input,
.pduaaf-orders-filter select { width:100%!important; min-height:52px!important; }
.pduaaf-inline-filter .button,
.pduaaf-orders-filter .button { min-height:52px!important; white-space:nowrap!important; }

.pduaaf-orders-list { display:grid!important; gap:10px!important; }
.pduaaf-order-item { min-width:0!important; padding:14px 16px!important; box-shadow:0 4px 14px rgba(15,23,42,.05)!important; overflow:hidden!important; }
.pduaaf-order-mainline {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:center!important;
    min-width:0!important;
}
.pduaaf-order-mainline > div { min-width:0!important; }
.pduaaf-order-mainline small { display:block!important; margin:0 0 4px!important; color:#9aa3b2!important; font-size:.7rem!important; }
.pduaaf-order-mainline strong { display:block!important; max-width:100%!important; color:#3f4b61!important; font-size:.82rem!important; font-weight:800!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important; }
.pduaaf-order-actions { display:flex!important; flex-wrap:wrap!important; align-items:center!important; gap:8px!important; margin-top:10px!important; }

/* ---------- Order detail ---------- */
.pduaaf-order-detail-layout { display:grid!important; grid-template-columns:270px minmax(0,1fr)!important; gap:16px!important; align-items:start!important; }
.pduaaf-order-side,.pduaaf-order-detail-main { display:grid!important; gap:14px!important; min-width:0!important; }
.pduaaf-order-summary-card,.pduaaf-order-flow-card,.pduaaf-order-shipping-card,.pduaaf-order-items-card { min-width:0!important; padding:17px!important; border-radius:20px!important; background:#fff!important; box-shadow:var(--pd-card-shadow,2px 2px 10px 2px rgba(15,23,42,.08))!important; }
.pduaaf-order-summary-card h3,.pduaaf-order-flow-card h3,.pduaaf-order-shipping-card h3,.pduaaf-order-items-card h3 { display:flex!important; align-items:center!important; gap:8px!important; margin:0 0 14px!important; color:#364156!important; font-size:.92rem!important; font-weight:900!important; }
.pduaaf-order-flow { position:relative!important; display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:0!important; min-width:0!important; }
.pduaaf-order-flow::before { content:""!important; position:absolute!important; right:8%!important; left:8%!important; top:27px!important; height:2px!important; background:#e2e5e9!important; }
.pduaaf-order-flow-step { position:relative!important; z-index:1!important; display:flex!important; flex-direction:column!important; align-items:center!important; gap:7px!important; min-width:0!important; color:#a3aab6!important; text-align:center!important; }
.pduaaf-order-flow-icon { display:grid!important; place-items:center!important; width:54px!important; height:54px!important; border:4px solid #fff!important; border-radius:50%!important; background:#f0f1f3!important; box-shadow:0 0 0 1px #e7e9ed!important; }
.pduaaf-order-flow-icon .pduaaf-svg-icon { width:25px!important; height:25px!important; }
.pduaaf-order-flow-step strong { font-size:.7rem!important; line-height:1.5!important; }
.pduaaf-order-flow-step.is-done { color:#49b976!important; }
.pduaaf-order-flow-step.is-done .pduaaf-order-flow-icon { background:#e8faef!important; }
.pduaaf-order-flow-step.is-current { color:#e05260!important; }
.pduaaf-order-flow-step.is-current .pduaaf-order-flow-icon { background:#fff0f0!important; animation:pduaaf-order-current 1.9s ease-in-out infinite!important; }
@keyframes pduaaf-order-current { 50% { box-shadow:0 0 0 8px rgba(225,3,28,0); } }
.pduaaf-order-shipping-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
.pduaaf-order-shipping-grid > div { min-width:0!important; padding:11px!important; border-radius:12px!important; background:#fafbfc!important; }
.pduaaf-order-shipping-grid .is-wide { grid-column:1/-1!important; }
.pduaaf-order-product-link { display:flex!important; align-items:center!important; gap:10px!important; min-width:0!important; color:#465165!important; }
.pduaaf-order-product-link img { width:50px!important; height:50px!important; flex:0 0 50px!important; object-fit:contain!important; border-radius:9px!important; }
.pduaaf-table { width:100%!important; max-width:100%!important; border-collapse:separate!important; border-spacing:0 7px!important; }
.pduaaf-table th,.pduaaf-table td { padding:9px 10px!important; vertical-align:middle!important; text-align:right!important; }
.pduaaf-table th { color:#687285!important; font-size:.75rem!important; }
.pduaaf-table td { font-size:.78rem!important; }
.pduaaf-order-products-table-wrap { width:100%!important; overflow-x:auto!important; }

/* ---------- Wizard / Excel / external order ---------- */
.pduaaf-method-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:18px!important; }
.pduaaf-method-card { display:grid!important; gap:10px!important; min-width:0!important; min-height:210px!important; padding:24px!important; border:2px solid transparent!important; color:var(--pd-heading,#1f2a44)!important; cursor:pointer!important; text-align:right!important; overflow:hidden!important; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important; }
.pduaaf-method-card:hover,.pduaaf-method-card.is-selected { transform:translateY(-2px) scale(1.01)!important; border-color:var(--pd-primary,#E1031C)!important; }
.pduaaf-method-card .pduaaf-svg-icon { width:54px!important; height:54px!important; padding:13px!important; border-radius:16px!important; background:#f0f1f3!important; color:var(--pd-primary,#E1031C)!important; }
.pduaaf-dropzone { display:grid!important; justify-items:center!important; gap:12px!important; padding:34px!important; border:2px dashed #d7dfec!important; border-radius:20px!important; background:#fbfcff!important; text-align:center!important; }
.pduaaf-dropzone .pduaaf-svg-icon { width:58px!important; height:58px!important; color:var(--pd-primary,#E1031C)!important; }
.pduaaf-items-toolbar { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:12px!important; margin:22px 0 14px!important; }
.pduaaf-external-item-head,.pduaaf-external-item-row { display:grid!important; grid-template-columns:1.2fr 1fr 90px 110px 1fr 70px!important; align-items:center!important; gap:10px!important; width:100%!important; min-width:0!important; padding:12px 16px!important; }
.pduaaf-external-item-head { border-radius:14px 14px 0 0!important; background:#f1f3f7!important; color:#39445c!important; font-weight:900!important; }
.pduaaf-external-item-row { border-bottom:1px solid #edf1f6!important; background:#fff!important; }
.pduaaf-external-item-row.is-invalid { background:#FFFAED!important; }
.pduaaf-external-item-row.is-invalid strong,.pduaaf-external-item-row.is-invalid small { color:var(--pd-error,#ef4444)!important; }
.pduaaf-success-state { display:grid!important; justify-items:center!important; gap:12px!important; min-height:330px!important; padding:44px 20px!important; text-align:center!important; }
.pduaaf-success-state > .pduaaf-svg-icon { width:86px!important; height:86px!important; padding:20px!important; border-radius:50%!important; background:#DFF9EC!important; color:#39DA8A!important; }

/* ---------- Wallet figures 34–36 ---------- */
.pduaaf-wallet-hero {
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:190px!important;
    padding:28px 38px!important;
    border-radius:22px!important;
    background:linear-gradient(115deg,#1fd081 0%,#0aa779 48%,#056d70 100%)!important;
    color:#fff!important;
    box-shadow:0 14px 34px rgba(13,153,104,.20)!important;
    overflow:hidden!important;
}
.pduaaf-wallet-hero::before,.pduaaf-wallet-hero::after { content:""!important; position:absolute!important; border-radius:50%!important; background:rgba(255,255,255,.06)!important; }
.pduaaf-wallet-hero::before { width:155px!important; height:155px!important; left:25px!important; top:-10px!important; }
.pduaaf-wallet-hero::after { width:80px!important; height:80px!important; left:165px!important; bottom:-28px!important; }
.pduaaf-wallet-hero-copy { position:relative!important; z-index:1!important; display:grid!important; grid-template-columns:auto auto!important; align-items:end!important; justify-content:center!important; column-gap:10px!important; row-gap:4px!important; margin-inline:auto!important; }
.pduaaf-wallet-hero-copy small { grid-column:1/-1!important; position:static!important; margin:0!important; color:#eafff7!important; font-size:.88rem!important; font-weight:800!important; text-align:center!important; }
.pduaaf-wallet-hero-copy strong { color:#fff!important; font-size:2.55rem!important; font-weight:900!important; letter-spacing:.02em!important; line-height:1.1!important; }
.pduaaf-wallet-hero-copy span { color:#fff!important; font-size:.9rem!important; font-weight:700!important; }
.pduaaf-wallet-hero-icon { order:-1!important; position:relative!important; z-index:1!important; display:grid!important; place-items:center!important; width:130px!important; height:130px!important; color:#d6fff0!important; }
.pduaaf-wallet-hero-icon .pduaaf-svg-icon { width:112px!important; height:112px!important; }
.pduaaf-wallet-tabs {
    position:relative!important;
    z-index:2!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin:-18px 42px 18px!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:var(--pd-card-shadow,2px 2px 10px 2px rgba(15,23,42,.08))!important;
    overflow:hidden!important;
}
.pduaaf-wallet-tabs > button {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    min-width:0!important;
    min-height:64px!important;
    margin:0!important;
    padding:10px 14px!important;
    border:0!important;
    border-bottom:3px solid transparent!important;
    border-radius:0!important;
    background:#fff!important;
    color:#536079!important;
    box-shadow:none!important;
    font-size:.95rem!important;
    font-weight:900!important;
    line-height:1.4!important;
    cursor:pointer!important;
}
.pduaaf-wallet-tabs > button:hover { background:#fbfdfc!important; color:#199b6b!important; }
.pduaaf-wallet-tabs > button.is-active,.pduaaf-wallet-tabs > button.is-active:hover { background:#fff!important; color:#0a9b6b!important; border-bottom-color:#0a9b6b!important; }
.pduaaf-wallet-tabs .pduaaf-svg-icon { width:24px!important; height:24px!important; color:inherit!important; }
.pduaaf-wallet-stats { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:14px!important; margin-bottom:18px!important; }
.pduaaf-wallet-stats > div { display:grid!important; grid-template-columns:54px minmax(0,1fr)!important; grid-template-rows:auto auto!important; column-gap:12px!important; align-items:center!important; min-width:0!important; min-height:116px!important; padding:18px!important; border-radius:18px!important; background:#fff!important; box-shadow:var(--pd-card-shadow,2px 2px 10px 2px rgba(15,23,42,.08))!important; }
.pduaaf-wallet-stat-icon { grid-row:1/3!important; display:grid!important; place-items:center!important; width:50px!important; height:50px!important; border-radius:14px!important; background:#eaf7f3!important; color:#18a576!important; }
.pduaaf-wallet-stat-icon.is-debit { background:#fff0f0!important; color:#e0525d!important; }
.pduaaf-wallet-stat-icon .pduaaf-svg-icon { width:25px!important; height:25px!important; }
.pduaaf-wallet-stats small { margin:0!important; color:#737f92!important; font-size:.76rem!important; line-height:1.5!important; }
.pduaaf-wallet-stats strong { min-width:0!important; color:#364156!important; font-size:.92rem!important; font-weight:900!important; overflow-wrap:anywhere!important; }
.pduaaf-wallet-tab-panel { display:none!important; }
.pduaaf-wallet-tab-panel.is-active { display:block!important; }
.pduaaf-wallet-operation-card,.pduaaf-wallet-history-card { width:100%!important; padding:22px!important; }
.pduaaf-operation-heading { display:flex!important; justify-content:space-between!important; align-items:flex-start!important; gap:16px!important; margin-bottom:18px!important; }
.pduaaf-operation-heading > div { min-width:0!important; }
.pduaaf-operation-heading h3 { margin:0!important; color:var(--pd-heading,#1f2a44)!important; font-size:1rem!important; font-weight:900!important; }
.pduaaf-operation-heading p { margin:5px 0 0!important; color:#98a1b1!important; font-size:.78rem!important; line-height:1.6!important; }
.pduaaf-operation-heading > .pduaaf-svg-icon { width:30px!important; height:30px!important; flex:0 0 30px!important; color:#a7aeba!important; }
.pduaaf-wallet-operation-form { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)!important; align-items:start!important; gap:14px 18px!important; }
.pduaaf-money-input { position:relative!important; min-width:0!important; }
.pduaaf-money-input input { width:100%!important; min-width:0!important; height:54px!important; padding-left:70px!important; }
.pduaaf-money-input span { position:absolute!important; left:16px!important; top:50%!important; transform:translateY(-50%)!important; color:#9098a5!important; }
.pduaaf-quick-amounts { display:flex!important; flex-wrap:wrap!important; gap:8px!important; align-items:center!important; }
.pduaaf-quick-amounts button { min-height:38px!important; margin:0!important; padding:7px 12px!important; border:0!important; border-radius:10px!important; background:#edf8f4!important; color:#159a6c!important; box-shadow:none!important; font-size:.78rem!important; font-weight:800!important; cursor:pointer!important; }
.pduaaf-wallet-operation-form .pduaaf-wide-cta { grid-column:1/-1!important; width:min(430px,100%)!important; margin-right:auto!important; }
.pduaaf-bank-destination { grid-column:1/-1!important; display:grid!important; grid-template-columns:45px minmax(0,1fr) auto!important; gap:12px!important; align-items:center!important; min-width:0!important; padding:13px!important; border:1px solid #e7e9ed!important; border-radius:14px!important; }
.pduaaf-bank-icon { display:grid!important; place-items:center!important; width:42px!important; height:42px!important; border-radius:11px!important; background:#fff0f0!important; color:#e24c5a!important; }
.pduaaf-security-hint { grid-column:1/-1!important; display:flex!important; gap:8px!important; align-items:center!important; padding:10px!important; border-radius:11px!important; background:#eefaf5!important; color:#508474!important; }
.pduaaf-wallet-filter { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)) auto!important; gap:10px!important; margin-bottom:14px!important; }
.pduaaf-amount-credit { color:#1eaa76!important; font-weight:800!important; }
.pduaaf-amount-debit { color:#e2525e!important; font-weight:800!important; }

/* ---------- Wishlist ---------- */
.pduaaf-wishlist-search { display:block!important; width:min(340px,100%)!important; margin-bottom:16px!important; }
.pduaaf-wishlist-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:13px!important; }
.pduaaf-wishlist-item { position:relative!important; min-width:0!important; padding:12px!important; overflow:hidden!important; }
.pduaaf-wishlist-item > .pduaaf-icon-button { position:absolute!important; z-index:2!important; top:10px!important; right:10px!important; }
.pduaaf-wishlist-item > a:not(.button) { display:block!important; color:inherit!important; }
.pduaaf-wishlist-item img { width:100%!important; aspect-ratio:1/1!important; object-fit:contain!important; border-radius:14px!important; background:#fafbfc!important; }
.pduaaf-wishlist-item h3 { min-height:44px!important; margin:10px 0 0!important; font-size:.82rem!important; line-height:1.6!important; overflow-wrap:anywhere!important; }
.pduaaf-wishlist-item > .button { width:100%!important; margin-top:10px!important; }

/* ---------- Addresses ---------- */
.pduaaf-address-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:14px!important; }
.pduaaf-address-card { display:flex!important; flex-direction:column!important; min-width:0!important; min-height:220px!important; padding:17px!important; overflow:hidden!important; }
.pduaaf-address-card.is-default { border:1px solid color-mix(in srgb,var(--pd-primary,#E1031C) 35%,#fff)!important; }
.pduaaf-address-card header { display:flex!important; justify-content:space-between!important; align-items:center!important; gap:10px!important; }
.pduaaf-address-title { display:flex!important; align-items:center!important; gap:8px!important; min-width:0!important; }
.pduaaf-address-title > .pduaaf-svg-icon { width:27px!important; height:27px!important; flex:0 0 27px!important; color:#b8bdc6!important; }
.pduaaf-default-badge { padding:3px 7px!important; border-radius:999px!important; background:#e7faf1!important; color:#1ba875!important; font-size:.64rem!important; }
.pduaaf-icon-button { display:inline-grid!important; place-items:center!important; width:32px!important; height:32px!important; padding:7px!important; border:0!important; border-radius:8px!important; background:#fff7f7!important; color:#e5646e!important; box-shadow:none!important; cursor:pointer!important; }
.pduaaf-icon-button .pduaaf-svg-icon { width:18px!important; height:18px!important; }
.pduaaf-address-text { display:-webkit-box!important; -webkit-line-clamp:2!important; -webkit-box-orient:vertical!important; overflow:hidden!important; min-height:48px!important; margin:18px 0!important; color:#697284!important; line-height:1.8!important; }
.pduaaf-address-meta { display:flex!important; flex-wrap:wrap!important; gap:12px!important; margin-top:auto!important; color:#8a929f!important; font-size:.72rem!important; }
.pduaaf-switch-label { display:inline-flex!important; align-items:center!important; gap:8px!important; }
.pduaaf-switch-label input { position:absolute!important; opacity:0!important; }
.pduaaf-switch { position:relative!important; width:35px!important; height:19px!important; border-radius:20px!important; background:#c9ced6!important; }
.pduaaf-switch::after { content:""!important; position:absolute!important; top:3px!important; right:3px!important; width:13px!important; height:13px!important; border-radius:50%!important; background:#fff!important; }
.pduaaf-switch-label input:checked + .pduaaf-switch { background:#39c994!important; }
.pduaaf-switch-label input:checked + .pduaaf-switch::after { right:19px!important; }

/* ---------- Tables / long text / generic overflow ---------- */
.pduaaf-area .pduaaf-section,
.pduaaf-area .pduaaf-order-item,
.pduaaf-area .pduaaf-ticket-row,
.pduaaf-area .pduaaf-status-card,
.pduaaf-area .pduaaf-bom-list-card { min-width:0!important; }
.pduaaf-area h1,.pduaaf-area h2,.pduaaf-area h3,.pduaaf-area h4,
.pduaaf-area p,.pduaaf-area small,.pduaaf-area strong,.pduaaf-area span { overflow-wrap:anywhere; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .pduaaf-status-cards { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
    .pduaaf-stats-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
    .pduaaf-wishlist-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}

@media (max-width: 980px) {
    .woocommerce-account .woocommerce { flex-direction:column!important; gap:20px!important; }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content { width:100%!important; min-width:0!important; flex:1 1 auto!important; }
    .woocommerce-account .woocommerce-MyAccount-navigation { padding:14px!important; }
    .woocommerce-account .woocommerce-MyAccount-navigation ul { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-account-nav-profile { min-height:128px!important; }
    .pduaaf-inline-filter,.pduaaf-orders-filter { grid-template-columns:1fr 1fr!important; }
    .pduaaf-inline-filter .button,.pduaaf-orders-filter .button { grid-column:1/-1!important; width:max-content!important; min-width:150px!important; }
    .pduaaf-order-detail-layout { grid-template-columns:1fr!important; }
    .pduaaf-order-side { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-wallet-operation-form { grid-template-columns:1fr!important; }
    .pduaaf-wallet-operation-form .pduaaf-wide-cta { grid-column:auto!important; }
}

@media (max-width: 768px) {
    .pduaaf-section-header { align-items:flex-start!important; flex-wrap:wrap!important; }
    .pduaaf-section-header h2 { width:100%!important; }
    .pduaaf-form-grid { grid-template-columns:1fr!important; gap:16px!important; }
    .pduaaf-form-wide { grid-column:auto!important; }
    .pduaaf-input-with-action { grid-template-columns:1fr!important; grid-template-areas:"input" "button" "badge"!important; }
    .pduaaf-input-with-action > .button { width:100%!important; }
    .pduaaf-dashboard > .pduaaf-notice { grid-template-columns:30px minmax(0,1fr)!important; }
    .pduaaf-dashboard > .pduaaf-notice .button,.pduaaf-dashboard > .pduaaf-notice .pduaaf-notice-action { grid-column:1/-1!important; width:100%!important; }
    .pduaaf-stats-grid,.pduaaf-status-cards { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-order-mainline { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-method-grid { grid-template-columns:1fr!important; }
    .pduaaf-external-item-head { display:none!important; }
    .pduaaf-external-item-row { grid-template-columns:1fr!important; }
    .pduaaf-items-toolbar { align-items:stretch!important; flex-direction:column!important; }
    .pduaaf-wallet-hero { min-height:160px!important; padding:22px!important; }
    .pduaaf-wallet-hero-icon { width:90px!important; height:90px!important; }
    .pduaaf-wallet-hero-icon .pduaaf-svg-icon { width:78px!important; height:78px!important; }
    .pduaaf-wallet-hero-copy strong { font-size:1.85rem!important; }
    .pduaaf-wallet-tabs { margin:-12px 12px 16px!important; }
    .pduaaf-wallet-tabs > button { min-height:58px!important; padding:8px!important; font-size:.8rem!important; }
    .pduaaf-wallet-stats { grid-template-columns:1fr!important; }
    .pduaaf-wallet-filter { grid-template-columns:1fr!important; }
    .pduaaf-address-grid { grid-template-columns:1fr!important; }
    .pduaaf-wishlist-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-order-side { grid-template-columns:1fr!important; }
    .pduaaf-order-flow { display:flex!important; overflow-x:auto!important; gap:12px!important; padding-bottom:8px!important; }
    .pduaaf-order-flow::before { display:none!important; }
    .pduaaf-order-flow-step { flex:0 0 88px!important; }
    .pduaaf-order-shipping-grid { grid-template-columns:1fr!important; }
    .pduaaf-order-shipping-grid .is-wide { grid-column:auto!important; }
}

@media (max-width: 560px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns:1fr!important; }
    .woocommerce-account .woocommerce-MyAccount-navigation a { font-size:1.05rem!important; }
    .pduaaf-stats-grid,.pduaaf-status-cards,.pduaaf-wishlist-grid { grid-template-columns:1fr!important; }
    .pduaaf-inline-filter,.pduaaf-orders-filter { grid-template-columns:1fr!important; }
    .pduaaf-inline-filter .button,.pduaaf-orders-filter .button { grid-column:auto!important; width:100%!important; }
    .pduaaf-order-mainline { grid-template-columns:1fr!important; }
    .pduaaf-wallet-hero { flex-direction:column!important; gap:12px!important; text-align:center!important; }
    .pduaaf-wallet-hero-icon { order:0!important; }
    .pduaaf-wallet-tabs { grid-template-columns:1fr!important; margin:12px 0 16px!important; }
    .pduaaf-wallet-tabs > button { border-bottom:0!important; border-right:3px solid transparent!important; }
    .pduaaf-wallet-tabs > button.is-active { border-right-color:#0a9b6b!important; }
}

/* External-order list table — figure 10 */
.pduaaf-external-orders-list-section { padding:22px!important; overflow:hidden!important; }
.pduaaf-external-list-table { display:grid!important; gap:8px!important; width:100%!important; min-width:0!important; }
.pduaaf-external-list-head,
.pduaaf-external-list-row {
    display:grid!important;
    grid-template-columns:1.05fr 1.15fr 1.2fr 1.1fr 70px!important;
    align-items:center!important;
    gap:12px!important;
    min-width:0!important;
    padding:12px 16px!important;
}
.pduaaf-external-list-head {
    border:1px solid #edf0f4!important;
    border-radius:12px!important;
    background:#fbfbfc!important;
    color:#263249!important;
    font-size:.78rem!important;
    font-weight:900!important;
}
.pduaaf-external-list-row {
    min-height:68px!important;
    border:1px solid #edf0f4!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#445066!important;
    font-size:.82rem!important;
}
.pduaaf-external-list-head > *, .pduaaf-external-list-row > * { min-width:0!important; text-align:center!important; }
.pduaaf-external-code { direction:ltr!important; text-align:center!important; white-space:nowrap!important; }
.pduaaf-row-open { display:inline-grid!important; place-items:center!important; width:38px!important; height:38px!important; margin:auto!important; border-radius:10px!important; background:#f0f1f3!important; color:#9fa7b5!important; }
.pduaaf-row-open .pduaaf-svg-icon { width:18px!important; height:18px!important; }
.pduaaf-pagination { display:flex!important; flex-wrap:wrap!important; justify-content:flex-start!important; gap:7px!important; margin-top:18px!important; }
.pduaaf-pagination a { display:grid!important; place-items:center!important; min-width:36px!important; height:36px!important; padding:0 8px!important; border-radius:9px!important; background:#f4f5f7!important; color:#6d7685!important; box-shadow:none!important; }
.pduaaf-pagination a.is-current { background:var(--pd-primary,#E1031C)!important; color:#fff!important; }
.pduaaf-external-list.loading { opacity:.65!important; pointer-events:none!important; }
@media(max-width:760px){
    .pduaaf-external-list-head{display:none!important}
    .pduaaf-external-list-row{grid-template-columns:1fr 1fr!important;padding:14px!important}
    .pduaaf-external-list-row>span:last-child{grid-column:1/-1!important}
}

/* New ticket — figure 39 */
.pduaaf-ticket-create-card { padding:22px 24px!important; }
.pduaaf-ticket-create-header { align-items:flex-start!important; }
.pduaaf-heading-with-copy { min-width:0!important; }
.pduaaf-heading-with-copy h2 { margin:0!important; }
.pduaaf-heading-with-copy p { margin:4px 52px 0 0!important; color:#8f99a9!important; font-size:.82rem!important; line-height:1.6!important; }
.pduaaf-ticket-create-page .pduaaf-panel-form > .button-primary { min-width:170px!important; margin-right:auto!important; }
.pduaaf-upload-zone small { margin:0!important; color:#98a1b1!important; font-size:.74rem!important; font-weight:500!important; }
@media(max-width:768px){.pduaaf-heading-with-copy p{margin-right:0!important}.pduaaf-ticket-create-page .pduaaf-panel-form>.button-primary{width:100%!important}}

/* ---------- Account v1.2.1 order polish ---------- */
.pduaaf-account-top-heading {
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    margin:0 0 22px!important;
    color:#566172!important;
}
.pduaaf-account-top-heading .pduaaf-account-top-rule {
    flex:1 1 auto!important;
    height:1px!important;
    border-top:1px dashed #ccd2db!important;
}
.pduaaf-account-top-heading strong {
    flex:0 0 auto!important;
    color:#566172!important;
    font-size:1.08rem!important;
    font-weight:900!important;
    white-space:nowrap!important;
}
.pduaaf-account-top-icon {
    display:grid!important;
    place-items:center!important;
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    border-radius:10px!important;
    background:#f1f3f6!important;
    color:#8f99a8!important;
    box-shadow:0 8px 18px rgba(15,23,42,.08)!important;
}
.pduaaf-account-top-icon .pduaaf-svg-icon {
    width:24px!important;
    height:24px!important;
}
.pduaaf-dashboard > .pduaaf-page-title {
    display:none!important;
}
.pduaaf-orders-page.loading {
    opacity:.62!important;
    pointer-events:none!important;
}
.pduaaf-hover-select {
    position:relative!important;
    min-width:0!important;
}
.pduaaf-hover-select-trigger {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    min-height:52px!important;
    padding:10px 16px!important;
    border:0!important;
    border-radius:14px!important;
    background:#f4f5f7!important;
    color:#9aa3b2!important;
    font-weight:900!important;
    cursor:pointer!important;
}
.pduaaf-hover-select-trigger .pduaaf-svg-icon {
    width:14px!important;
    height:14px!important;
    transform:rotate(-90deg)!important;
    color:#a3abb8!important;
}
.pduaaf-hover-select-menu {
    position:absolute!important;
    z-index:20!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    left:0!important;
    display:none!important;
    padding:8px!important;
    border:1px solid #eef0f4!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 18px 40px rgba(15,23,42,.12)!important;
}
.pduaaf-hover-select.is-open .pduaaf-hover-select-menu {
    display:grid!important;
    gap:4px!important;
}
.pduaaf-hover-select-menu button {
    width:100%!important;
    min-height:38px!important;
    padding:8px 10px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#6b7482!important;
    font-weight:800!important;
    text-align:right!important;
    cursor:pointer!important;
}
.pduaaf-hover-select-menu button:hover {
    background:#f4f5f7!important;
    color:#263249!important;
}
.pduaaf-orders-filter {
    grid-template-columns:minmax(190px,260px) minmax(260px,1fr) auto!important;
    align-items:center!important;
    gap:16px!important;
    margin:0 0 26px!important;
    padding-bottom:26px!important;
    border-bottom:1px solid #edf0f4!important;
}
.pduaaf-filter-search {
    position:relative!important;
}
.pduaaf-filter-search > .pduaaf-svg-icon {
    position:absolute!important;
    right:18px!important;
    top:50%!important;
    width:18px!important;
    height:18px!important;
    transform:translateY(-50%)!important;
    color:#adb5c2!important;
    pointer-events:none!important;
}
.pduaaf-filter-search input[type="search"] {
    padding-right:48px!important;
    border:0!important;
    border-radius:14px!important;
    background:#f4f5f7!important;
    color:#6f7887!important;
    text-align:center!important;
    box-shadow:none!important;
}
.pduaaf-orders-filter .button {
    min-width:120px!important;
    border-color:var(--pd-primary,#E1031C)!important;
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 12px 24px color-mix(in srgb,var(--pd-primary,#E1031C) 28%,transparent)!important;
}
.pduaaf-order-row {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    align-items:center!important;
    gap:12px 16px!important;
    min-height:72px!important;
    padding:14px 16px!important;
    border:1px solid #edf0f4!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
}
.pduaaf-dashboard-order-list .pduaaf-order-row {
    min-height:70px!important;
    background:#fff!important;
}
.pduaaf-order-row:hover {
    border-color:#e2e6ee!important;
    box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.pduaaf-order-mainline {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
}
.pduaaf-order-field {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    min-width:0!important;
    color:#263249!important;
}
.pduaaf-order-field small {
    flex:0 0 auto!important;
    margin:0!important;
    color:#a2a8b2!important;
    font-size:.76rem!important;
    font-weight:900!important;
    white-space:nowrap!important;
}
.pduaaf-order-field strong {
    min-width:0!important;
    color:#202942!important;
    font-size:.82rem!important;
    font-weight:900!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.pduaaf-row-open {
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    border-radius:10px!important;
    background:#f0f1f3!important;
    color:#a7afbb!important;
}
.pduaaf-row-open:hover {
    background:var(--pd-primary,#E1031C)!important;
    color:#fff!important;
}
.pduaaf-row-open .pduaaf-svg-icon {
    width:18px!important;
    height:18px!important;
}
.pduaaf-order-thumbnails {
    grid-column:1/2!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    margin:8px 0 0!important;
}
.pduaaf-order-thumbnails a {
    display:grid!important;
    place-items:center!important;
    width:54px!important;
    height:54px!important;
    border:1px solid #e7ebf0!important;
    border-radius:9px!important;
    background:#fff!important;
}
.pduaaf-order-thumbnails img {
    width:44px!important;
    height:44px!important;
    object-fit:contain!important;
    border:0!important;
    border-radius:7px!important;
}
.pduaaf-order-actions {
    grid-column:1/-1!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin:2px 0 0!important;
}
.pduaaf-order-actions .button {
    min-height:34px!important;
    padding:6px 13px!important;
    border-color:var(--pd-primary,#E1031C)!important;
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 8px 18px color-mix(in srgb,var(--pd-primary,#E1031C) 22%,transparent)!important;
}
.pduaaf-order-actions .button-secondary {
    border-color:#edf0f4!important;
    background:#fff!important;
    color:#263249!important;
    box-shadow:none!important;
}
.pduaaf-status-pending { background:#FBB5CF!important; color:#FB1B6F!important; }
.pduaaf-status-processing { background:#E5EDFC!important; color:#5A8DEE!important; }
.pduaaf-status-on-hold { background:#F9E8C7!important; color:#FCA500!important; }
.pduaaf-status-completed { background:#DFF9EC!important; color:#39DA8A!important; }
.pduaaf-status-cancelled,
.pduaaf-status-failed { background:#FFE5E5!important; color:#FF5B5C!important; }
.pduaaf-status-refunded { background:#E2E4E6!important; color:#495563!important; }
.pduaaf-status-shipped { background:#D6F7FA!important; color:#00CFDD!important; }
.pduaaf-status-trash { background:#E2E4E6!important; color:#495563!important; }

.pduaaf-order-detail-page > .pduaaf-section-header {
    margin-bottom:18px!important;
}
.pduaaf-order-detail-layout {
    grid-template-columns:minmax(0,1fr) 280px!important;
    gap:16px!important;
    direction:ltr!important;
}
.pduaaf-order-detail-main,
.pduaaf-order-side {
    direction:rtl!important;
}
.pduaaf-order-summary-card,
.pduaaf-order-flow-card,
.pduaaf-order-shipping-card,
.pduaaf-order-items-card,
.pduaaf-order-help-card {
    border:0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(15,23,42,.06)!important;
}
.pduaaf-order-summary-card h3,
.pduaaf-order-flow-card h3,
.pduaaf-order-shipping-card h3,
.pduaaf-order-items-card h3 {
    justify-content:flex-start!important;
    color:#111827!important;
    font-size:1rem!important;
}
.pduaaf-order-summary-card h3 .pduaaf-svg-icon,
.pduaaf-order-flow-card h3 .pduaaf-svg-icon,
.pduaaf-order-shipping-card h3 .pduaaf-svg-icon,
.pduaaf-order-items-card h3 .pduaaf-svg-icon {
    width:25px!important;
    height:25px!important;
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-order-summary-card dl {
    display:grid!important;
    gap:0!important;
    margin:0!important;
}
.pduaaf-order-summary-card dl > div {
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:12px!important;
    align-items:center!important;
    min-height:38px!important;
    border-bottom:1px solid #edf0f4!important;
}
.pduaaf-order-summary-card dl > div:last-child {
    border-bottom:0!important;
}
.pduaaf-order-summary-card dt {
    color:#8c93a0!important;
    font-size:.78rem!important;
    font-weight:800!important;
}
.pduaaf-order-summary-card dd {
    margin:0!important;
    color:#4f5664!important;
    font-size:.78rem!important;
    font-weight:900!important;
}
.pduaaf-order-quick-links {
    gap:8px!important;
}
.pduaaf-order-quick-links .button {
    width:100%!important;
    justify-content:space-between!important;
    min-height:42px!important;
    border-color:#edf0f4!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#111827!important;
    box-shadow:none!important;
}
.pduaaf-order-quick-links .button:first-of-type {
    border-color:var(--pd-primary,#E1031C)!important;
    background:var(--pd-primary,#E1031C)!important;
    color:#fff!important;
    box-shadow:0 12px 24px color-mix(in srgb,var(--pd-primary,#E1031C) 28%,transparent)!important;
}
.pduaaf-order-flow-card {
    padding:22px 24px!important;
}
.pduaaf-order-flow {
    padding:12px 0 6px!important;
}
.pduaaf-order-flow::before {
    right:8%!important;
    left:8%!important;
    top:39px!important;
    background:#d9dadd!important;
}
.pduaaf-order-flow-icon {
    width:58px!important;
    height:58px!important;
    border:3px solid #fff!important;
    border-radius:14px!important;
}
.pduaaf-order-flow-step.is-done .pduaaf-order-flow-icon {
    color:#1bbd42!important;
    box-shadow:0 0 0 2px #20bf43!important;
}
.pduaaf-order-flow-step.is-current .pduaaf-order-flow-icon {
    color:var(--pd-primary,#E1031C)!important;
    box-shadow:0 0 0 2px var(--pd-primary,#E1031C)!important;
}
.pduaaf-order-flow-step.is-done,
.pduaaf-order-flow-step.is-current {
    font-weight:900!important;
}
.pduaaf-tracking-strip {
    display:flex!important;
    justify-content:center!important;
    margin-top:16px!important;
    padding:11px!important;
    border-radius:12px!important;
    background:#fafafa!important;
    color:#111827!important;
    font-weight:900!important;
}
.pduaaf-order-shipping-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.pduaaf-order-shipping-grid > div {
    position:relative!important;
    min-height:108px!important;
    padding:18px 48px 18px 18px!important;
    border:1px solid #edf0f4!important;
    border-radius:12px!important;
    background:#fff!important;
}
.pduaaf-order-shipping-grid .is-wide {
    grid-column:auto!important;
}
.pduaaf-card-field-icon {
    position:absolute!important;
    top:18px!important;
    right:18px!important;
    display:grid!important;
    place-items:center!important;
    width:24px!important;
    height:24px!important;
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-card-field-icon .pduaaf-svg-icon {
    width:22px!important;
    height:22px!important;
}
.pduaaf-order-shipping-grid small {
    margin:0 0 8px!important;
    color:#8d96a7!important;
}
.pduaaf-order-shipping-grid strong {
    color:#111827!important;
    font-size:.84rem!important;
    line-height:1.9!important;
}
.pduaaf-order-items-table {
    min-width:760px!important;
}
.pduaaf-order-items-table thead th {
    background:#f5f5f6!important;
    color:#111827!important;
    font-size:.82rem!important;
    font-weight:900!important;
}
.pduaaf-order-items-table thead th:first-child {
    border-radius:0 8px 8px 0!important;
}
.pduaaf-order-items-table thead th:last-child {
    border-radius:8px 0 0 8px!important;
}
.pduaaf-order-items-table tbody td {
    border-bottom:1px solid #edf0f4!important;
    color:#111827!important;
    font-weight:800!important;
}
.pduaaf-order-items-table tfoot td {
    padding:14px 18px!important;
    border-radius:8px!important;
    background:#f5f5f6!important;
    color:#111827!important;
    font-weight:900!important;
}
.pduaaf-order-product-link span {
    display:grid!important;
    gap:4px!important;
}
.pduaaf-order-product-link span strong {
    color:#111827!important;
}
.pduaaf-order-product-link span small {
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:3px 9px!important;
    border-radius:8px!important;
    background:#f6f6f7!important;
    color:#4f5664!important;
    font-size:.72rem!important;
}
.pduaaf-muted-cell {
    color:#a1a8b4!important;
}
.pduaaf-order-help-card {
    grid-template-columns:74px 1fr auto!important;
    min-height:96px!important;
    padding:18px 24px!important;
}
.pduaaf-order-help-card > .pduaaf-svg-icon {
    width:58px!important;
    height:58px!important;
    padding:10px!important;
    border-radius:50%!important;
    background:#fff0f0!important;
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-order-help-card strong {
    color:#111827!important;
    font-size:1rem!important;
}
.pduaaf-order-help-card span {
    color:#7e8795!important;
    font-size:.78rem!important;
    font-weight:700!important;
}
.pduaaf-order-help-card .button {
    grid-row:1/3!important;
    grid-column:3!important;
    align-self:center!important;
}

@media (max-width: 980px) {
    .pduaaf-orders-filter { grid-template-columns:1fr 1fr!important; }
    .pduaaf-orders-filter .button { width:max-content!important; }
    .pduaaf-order-detail-layout { grid-template-columns:1fr!important; direction:rtl!important; }
    .pduaaf-order-side { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-order-quick-links { grid-column:1/-1!important; }
    .pduaaf-order-shipping-grid { grid-template-columns:1fr!important; }
}
@media (max-width: 760px) {
    .pduaaf-order-mainline { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
    .pduaaf-order-field { display:grid!important; gap:4px!important; }
    .pduaaf-orders-filter,
    .pduaaf-order-side { grid-template-columns:1fr!important; }
    .pduaaf-orders-filter .button { width:100%!important; }
    .pduaaf-order-help-card { grid-template-columns:56px 1fr!important; }
    .pduaaf-order-help-card .button { grid-column:1/-1!important; grid-row:auto!important; width:100%!important; }
}
@media (max-width: 520px) {
    .pduaaf-account-top-heading strong { font-size:.95rem!important; }
    .pduaaf-order-row { grid-template-columns:1fr 38px!important; }
    .pduaaf-order-mainline { grid-template-columns:1fr!important; }
    .pduaaf-order-thumbnails,
    .pduaaf-order-actions { grid-column:1/-1!important; }
}

/* ---------- External order details: client reference screens ---------- */
.pduaaf-external-order-details {
    display:grid!important;
    gap:14px!important;
}
.pduaaf-external-detail-card,
.pduaaf-external-alert,
.pduaaf-order-help-card {
    border:0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 28px rgba(15,23,42,.07)!important;
}
.pduaaf-external-detail-card {
    padding:18px!important;
}
.pduaaf-external-card-title {
    display:flex!important;
    flex-direction:row-reverse!important;
    align-items:center!important;
    gap:8px!important;
    margin-bottom:18px!important;
}
.pduaaf-external-card-title h3 {
    margin:0!important;
    color:#101010!important;
    font-size:1rem!important;
    font-weight:900!important;
}
.pduaaf-external-card-title > .pduaaf-svg-icon {
    width:27px!important;
    height:27px!important;
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-external-flow-card {
    padding:20px 28px 34px!important;
    overflow-x:auto!important;
}
.pduaaf-external-flow {
    display:flex!important;
    flex-direction:row-reverse!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
    min-width:900px!important;
}
.pduaaf-external-flow-step {
    position:relative!important;
    display:grid!important;
    justify-items:center!important;
    align-content:center!important;
    gap:9px!important;
    width:108px!important;
    min-width:108px!important;
    height:126px!important;
    border-radius:18px!important;
    background:#e2e2e3!important;
    color:#969a9e!important;
    text-align:center!important;
    font-size:.78rem!important;
    font-weight:900!important;
    line-height:1.65!important;
}
.pduaaf-external-flow-step:not(:last-child)::after {
    content:""!important;
    position:absolute!important;
    top:63px!important;
    right:100%!important;
    width:38px!important;
    height:3px!important;
    background:#dedede!important;
}
.pduaaf-external-flow-icon {
    display:grid!important;
    place-items:center!important;
    width:66px!important;
    height:66px!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:0 14px 26px rgba(15,23,42,.05)!important;
}
.pduaaf-external-flow-icon .pduaaf-svg-icon {
    width:37px!important;
    height:37px!important;
}
.pduaaf-external-flow-pending { background:#EAF6FF!important; color:#1E73F3!important; }
.pduaaf-external-flow-pricing { background:#F7F4FF!important; color:#8C55F7!important; }
.pduaaf-external-flow-customer_review { background:#FFF7E7!important; color:#F6A400!important; }
.pduaaf-external-flow-price_approved { background:#D2FAFB!important; color:#11BCD8!important; }
.pduaaf-external-flow-awaiting_prepayment { background:#FFF1DF!important; color:#FF7516!important; }
.pduaaf-external-flow-sourcing { background:#EEF0FF!important; color:#536BFF!important; }
.pduaaf-external-flow-customs { background:#E8EEF3!important; color:#647384!important; }
.pduaaf-external-flow-step.is-muted {
    filter:grayscale(1)!important;
    opacity:.78!important;
}
.pduaaf-external-flow-step.is-current {
    box-shadow:0 14px 28px rgba(15,23,42,.08)!important;
}
.pduaaf-external-alert {
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    align-items:center!important;
    gap:20px!important;
    min-height:132px!important;
    padding:24px 34px!important;
    border-right:6px solid #ffc928!important;
    background:#FFF9E9!important;
}
.pduaaf-external-alert > .pduaaf-svg-icon {
    width:42px!important;
    height:42px!important;
    color:#ffc21c!important;
}
.pduaaf-external-alert strong {
    display:block!important;
    margin-bottom:8px!important;
    color:#ffc21c!important;
    font-size:1.25rem!important;
    font-weight:900!important;
}
.pduaaf-external-alert p {
    margin:0!important;
    color:#202020!important;
    font-size:.92rem!important;
    font-weight:700!important;
    line-height:2.1!important;
}
.pduaaf-external-alert-invoice {
    grid-template-columns:64px minmax(0,1fr) 260px!important;
}
.pduaaf-external-countdown {
    grid-column:3!important;
    grid-row:1!important;
    display:grid!important;
    justify-items:center!important;
    align-content:center!important;
    gap:4px!important;
    min-height:108px!important;
    padding:14px!important;
    border-radius:18px!important;
    background:#FFF1D6!important;
}
.pduaaf-external-countdown span,
.pduaaf-external-countdown small {
    color:#111!important;
    font-size:.78rem!important;
    font-weight:900!important;
}
.pduaaf-external-countdown strong {
    margin:0!important;
    color:#FFB129!important;
    font-size:1.65rem!important;
    font-weight:900!important;
}
.pduaaf-external-countdown i {
    display:block!important;
    width:82%!important;
    height:8px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#ffa41e 62%,#fff 62%)!important;
}
.pduaaf-external-items-card {
    overflow:hidden!important;
}
.pduaaf-external-items-scroll {
    overflow-x:auto!important;
    padding-bottom:4px!important;
}
.pduaaf-external-items-table {
    width:100%!important;
    min-width:980px!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    direction:ltr!important;
}
.pduaaf-external-items-table th,
.pduaaf-external-items-table td {
    padding:13px 12px!important;
    border:0!important;
    border-bottom:1px solid #edf0f4!important;
    color:#242936!important;
    text-align:center!important;
    vertical-align:middle!important;
    font-size:.82rem!important;
    font-weight:700!important;
    direction:rtl!important;
    white-space:nowrap!important;
}
.pduaaf-external-items-table thead th {
    background:#f4f4f5!important;
    color:#050505!important;
    font-weight:900!important;
}
.pduaaf-external-items-table thead th:first-child { border-radius:8px 0 0 8px!important; }
.pduaaf-external-items-table thead th:last-child { border-radius:0 8px 8px 0!important; }
.pduaaf-external-items-table tbody tr.is-warning td {
    background:#FFF8BF!important;
}
.pduaaf-external-row-actions {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
}
.pduaaf-external-row-actions .button {
    min-width:84px!important;
    min-height:34px!important;
    padding:6px 18px!important;
    border-radius:999px!important;
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 7px 15px color-mix(in srgb,var(--pd-primary,#E1031C) 28%,transparent)!important;
    color:#fff!important;
}
.pduaaf-external-row-actions .pduaaf-svg-icon {
    width:18px!important;
    height:18px!important;
    color:#ff93a1!important;
}
.pduaaf-external-delete-item {
    display:grid!important;
    place-items:center!important;
    width:26px!important;
    height:26px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    cursor:pointer!important;
}
.pduaaf-external-scrollbar {
    height:7px!important;
    margin:12px 18px!important;
    border-radius:999px!important;
    background:#d7d7d7!important;
}
.pduaaf-external-scrollbar span {
    display:block!important;
    width:38%!important;
    height:100%!important;
    margin-left:38%!important;
    border-radius:999px!important;
    background:#a9a9a9!important;
}
.pduaaf-external-total-strip,
.pduaaf-external-price-approval {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    gap:18px!important;
    margin-top:12px!important;
    padding:18px 24px!important;
    border-radius:14px!important;
    background:#f5f5f6!important;
    color:#111!important;
    font-weight:900!important;
}
.pduaaf-external-total-strip span,
.pduaaf-external-price-approval div {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-width:0!important;
}
.pduaaf-external-total-strip b,
.pduaaf-external-price-approval strong {
    color:#8aa0b3!important;
}
.pduaaf-external-price-approval .button {
    justify-self:start!important;
    min-width:174px!important;
    min-height:54px!important;
    border-radius:18px!important;
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 10px 20px color-mix(in srgb,var(--pd-primary,#E1031C) 28%,transparent)!important;
    color:#fff!important;
    font-size:1rem!important;
    font-weight:900!important;
}
.pduaaf-external-price-approval b {
    color:var(--pd-primary,#E1031C)!important;
    font-size:1.05rem!important;
}
.pduaaf-external-proforma-card {
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:28px!important;
    min-height:132px!important;
}
.pduaaf-external-actions {
    display:flex!important;
    flex-wrap:wrap!important;
    gap:18px!important;
}
.pduaaf-external-actions .button {
    min-height:48px!important;
    padding:9px 22px!important;
    border-radius:999px!important;
    font-weight:900!important;
}
.pduaaf-external-actions .button-primary {
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 10px 20px color-mix(in srgb,var(--pd-primary,#E1031C) 28%,transparent)!important;
}
.pduaaf-external-actions .button-light {
    border:1px solid #e8e8e8!important;
    background:#fff!important;
    color:#111!important;
}
.pduaaf-external-proforma-meta {
    display:flex!important;
    justify-content:space-around!important;
    gap:18px!important;
    padding:20px 28px!important;
    border-radius:18px!important;
    background:#EEF5FA!important;
    color:#111!important;
    font-weight:900!important;
}
.pduaaf-external-proforma-meta b {
    color:#8aa0b3!important;
}
.pduaaf-external-paid-note {
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    text-align:right!important;
}
.pduaaf-external-paid-note strong {
    color:#10C989!important;
    font-size:1.12rem!important;
    font-weight:900!important;
}
.pduaaf-external-paid-note p {
    margin:8px 0 0!important;
    color:#7a7f86!important;
    font-size:.82rem!important;
    font-weight:800!important;
}
.pduaaf-external-payment-card {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(380px,580px)!important;
    gap:34px!important;
    align-items:start!important;
}
.pduaaf-external-payment-copy h3 {
    margin:0 0 12px!important;
    color:#111!important;
    font-size:1.2rem!important;
    font-weight:900!important;
}
.pduaaf-external-payment-copy p {
    margin:0 0 24px!important;
    color:#333!important;
    font-weight:700!important;
    line-height:2!important;
}
.pduaaf-external-payment-summary {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
}
.pduaaf-external-payment-summary > div {
    display:grid!important;
    justify-items:center!important;
    gap:8px!important;
    min-height:134px!important;
    padding:20px 12px!important;
    border-radius:18px!important;
    background:#f1f1f1!important;
}
.pduaaf-external-payment-summary > div:nth-child(2) { background:#EAF8FF!important; }
.pduaaf-external-payment-summary > div:nth-child(3) { background:#E6FFE9!important; }
.pduaaf-external-payment-summary span {
    color:#787878!important;
    font-weight:900!important;
}
.pduaaf-external-payment-summary strong {
    color:#111!important;
    font-size:1.45rem!important;
    font-weight:900!important;
}
.pduaaf-external-payment-summary small {
    color:#111!important;
    font-weight:900!important;
}
.pduaaf-external-prepayment-form {
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
}
.pduaaf-payment-tabs {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
    min-height:54px!important;
    margin-bottom:16px!important;
    border-bottom:1px solid #d7e4f9!important;
}
.pduaaf-payment-tabs label {
    display:grid!important;
    place-items:center!important;
    cursor:pointer!important;
}
.pduaaf-payment-tabs input {
    display:none!important;
}
.pduaaf-payment-tabs span {
    width:100%!important;
    padding:16px 8px!important;
    color:#111!important;
    text-align:center!important;
    font-weight:900!important;
}
.pduaaf-payment-tabs input:checked + span {
    color:#4C82E6!important;
    border-bottom:3px solid #4C82E6!important;
}
.pduaaf-payment-fields {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    margin-bottom:12px!important;
}
.pduaaf-payment-fields label {
    display:grid!important;
    gap:6px!important;
    color:#6f7782!important;
    font-size:.78rem!important;
    font-weight:900!important;
}
.pduaaf-payment-fields input {
    width:100%!important;
    min-height:44px!important;
    border:1px solid #edf0f4!important;
    border-radius:7px!important;
    background:#fff!important;
    text-align:center!important;
}
.pduaaf-payment-upload {
    display:grid!important;
    justify-items:center!important;
    gap:8px!important;
    min-height:112px!important;
    padding:20px!important;
    border:1px solid #dfeeff!important;
    border-radius:8px!important;
    background:#fff!important;
    text-align:center!important;
    cursor:pointer!important;
}
.pduaaf-payment-upload .pduaaf-svg-icon {
    width:26px!important;
    height:26px!important;
    color:#4AA3E8!important;
}
.pduaaf-payment-upload input {
    display:none!important;
}
.pduaaf-external-prepayment-form > .button {
    width:100%!important;
    margin-top:12px!important;
    background:var(--pd-primary,#E1031C)!important;
    color:#fff!important;
}

/* ---------- BOM list cards: production list reference ---------- */
.pduaaf-bom-page .pduaaf-bom-lists {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px!important;
}
.pduaaf-bom-page .pduaaf-bom-list-card {
    position:relative!important;
    display:grid!important;
    gap:22px!important;
    min-height:330px!important;
    padding:22px 24px 18px!important;
    border:0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 28px rgba(15,23,42,.08)!important;
}
.pduaaf-bom-card-head {
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
}
.pduaaf-bom-card-head h3 {
    margin:0!important;
    color:#080808!important;
    font-size:1.18rem!important;
    font-weight:900!important;
    text-align:right!important;
}
.pduaaf-bom-card-head .pduaaf-bom-dot {
    grid-column:1!important;
    width:28px!important;
    height:28px!important;
    border-radius:8px!important;
    background:#ff5a60!important;
    box-shadow:inset 0 0 0 9px #ffd4d6!important;
}
.pduaaf-bom-card-head .pduaaf-bom-count {
    grid-column:3!important;
    min-width:102px!important;
    padding:8px 14px!important;
    border-radius:5px!important;
    background:#D8F9EA!important;
    color:#00B477!important;
    text-align:center!important;
    font-size:.82rem!important;
    font-weight:900!important;
}
.pduaaf-bom-list-card.is-empty .pduaaf-bom-count {
    background:#FFC2C5!important;
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-bom-description {
    min-height:82px!important;
    margin:10px 0 0!important;
    color:#8b8f97!important;
    font-size:.93rem!important;
    font-weight:700!important;
    line-height:2.05!important;
    text-align:right!important;
}
.pduaaf-bom-price-row {
    display:grid!important;
    grid-template-columns:auto 1fr!important;
    align-items:end!important;
    gap:14px!important;
    margin-top:auto!important;
}
.pduaaf-bom-price-row span {
    justify-self:end!important;
    color:#222!important;
    font-weight:900!important;
}
.pduaaf-bom-price-row strong {
    justify-self:start!important;
    color:var(--pd-primary,#E1031C)!important;
    font-size:1.35rem!important;
    font-weight:900!important;
}
.pduaaf-bom-card-actions {
    display:flex!important;
    justify-content:flex-start!important;
}
.pduaaf-bom-card-actions .button {
    min-height:42px!important;
    padding:8px 20px!important;
    border-radius:6px!important;
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 8px 15px color-mix(in srgb,var(--pd-primary,#E1031C) 25%,transparent)!important;
    color:#fff!important;
    font-weight:900!important;
}
.pduaaf-bom-list-card.is-empty .pduaaf-bom-card-actions .button {
    background:#72777f!important;
    box-shadow:0 8px 15px rgba(24,31,40,.22)!important;
}
.pduaaf-bom-card-footer {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    margin-top:6px!important;
    padding-top:14px!important;
    border-top:1px solid #e9ecef!important;
    color:#a0a5ad!important;
    font-size:.8rem!important;
    font-weight:800!important;
}
.pduaaf-bom-card-footer > div {
    display:flex!important;
    gap:10px!important;
}
.pduaaf-bom-card-footer .pduaaf-icon-button {
    width:36px!important;
    height:36px!important;
    border:1px solid #e4e7ea!important;
    border-radius:7px!important;
    background:#fff!important;
    box-shadow:0 4px 10px rgba(15,23,42,.08)!important;
}
.pduaaf-bom-card-footer .pduaaf-icon-button .pduaaf-svg-icon {
    width:18px!important;
    height:18px!important;
}
.pduaaf-bom-card-footer .pduaaf-delete-bom-btn .pduaaf-svg-icon {
    color:var(--pd-error,#ef4444)!important;
}
.pduaaf-bom-card-footer span {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}
.pduaaf-bom-card-footer span .pduaaf-svg-icon {
    width:22px!important;
    height:22px!important;
    color:#9da3ac!important;
}

@media (max-width: 980px) {
    .pduaaf-external-alert-invoice { grid-template-columns:56px minmax(0,1fr)!important; }
    .pduaaf-external-countdown { grid-column:1/-1!important; grid-row:auto!important; }
    .pduaaf-external-payment-card,
    .pduaaf-external-proforma-card { grid-template-columns:1fr!important; }
    .pduaaf-bom-page .pduaaf-bom-lists { grid-template-columns:1fr!important; }
}
@media (max-width: 680px) {
    .pduaaf-external-alert { grid-template-columns:1fr!important; padding:22px!important; }
    .pduaaf-external-total-strip,
    .pduaaf-external-price-approval,
    .pduaaf-external-payment-summary,
    .pduaaf-payment-fields { grid-template-columns:1fr!important; }
    .pduaaf-external-proforma-meta,
    .pduaaf-external-actions { display:grid!important; grid-template-columns:1fr!important; }
    .pduaaf-bom-card-head { grid-template-columns:28px minmax(0,1fr)!important; }
    .pduaaf-bom-card-head .pduaaf-bom-count { grid-column:1/-1!important; justify-self:start!important; }
}

/* ---------- Client fixes: neutral sidebar, wallet, profile forms, external wizard ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation a::before,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
    background:#f0f1f3!important;
    box-shadow:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a .pduaaf-nav-svg,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover .pduaaf-nav-svg {
    color:#9aa1ad!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a .pduaaf-nav-svg {
    color:#fff!important;
    fill:currentColor!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
    background:transparent!important;
}

.pduaaf-profile-form {
    display:grid!important;
    gap:18px!important;
}
.pduaaf-account-accordion {
    overflow:hidden!important;
    border:1px solid #edf0f4!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}
.pduaaf-account-accordion summary {
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) 24px!important;
    align-items:center!important;
    gap:12px!important;
    min-height:68px!important;
    padding:14px 18px!important;
    cursor:pointer!important;
    list-style:none!important;
}
.pduaaf-account-accordion summary::-webkit-details-marker {
    display:none!important;
}
.pduaaf-accordion-title-icon {
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    border-radius:12px!important;
    background:#f0f1f3!important;
    color:#9aa1ad!important;
}
.pduaaf-accordion-title-icon .pduaaf-svg-icon {
    width:24px!important;
    height:24px!important;
}
.pduaaf-account-accordion summary strong {
    color:#111827!important;
    font-size:1rem!important;
    font-weight:900!important;
}
.pduaaf-account-accordion summary small {
    margin:4px 0 0!important;
    color:#8f98a7!important;
    font-size:.76rem!important;
    font-weight:700!important;
}
.pduaaf-accordion-body {
    padding:0 18px 18px!important;
}
.pduaaf-profile-form .pduaaf-form-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
}
.pduaaf-profile-form p {
    margin:0!important;
}
.pduaaf-profile-form label {
    margin:0 0 8px!important;
    color:#4b5565!important;
    font-size:.82rem!important;
    font-weight:900!important;
}
.pduaaf-profile-form input,
.pduaaf-profile-form select,
.pduaaf-profile-form textarea {
    width:100%!important;
    max-width:none!important;
    min-height:52px!important;
    border:0!important;
    border-radius:13px!important;
    background:#f4f5f7!important;
    color:#1f2937!important;
    box-shadow:none!important;
}
.pduaaf-profile-form textarea {
    min-height:116px!important;
}
.pduaaf-input-with-action {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    gap:8px!important;
    align-items:center!important;
}
.pduaaf-verification-badge {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:36px!important;
    padding:6px 12px!important;
    border-radius:999px!important;
    font-size:.74rem!important;
    font-weight:900!important;
    white-space:nowrap!important;
}
.pduaaf-verification-badge.is-verified {
    background:#DFF9EC!important;
    color:#22b36f!important;
}
.pduaaf-verification-badge.is-unverified {
    background:#FFE5E5!important;
    color:#FF5B5C!important;
}

.pduaaf-money-input input {
    padding-left:86px!important;
    padding-right:16px!important;
    appearance:textfield!important;
    -moz-appearance:textfield!important;
}
.pduaaf-money-input input::-webkit-outer-spin-button,
.pduaaf-money-input input::-webkit-inner-spin-button {
    margin:0!important;
    appearance:none!important;
    -webkit-appearance:none!important;
}
.pduaaf-money-input span {
    z-index:2!important;
    left:18px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    padding-right:10px!important;
    border-right:1px solid #dde2ea!important;
    background:#f4f5f7!important;
    line-height:1!important;
    pointer-events:none!important;
}

.pduaaf-external-wizard-head {
    display:grid!important;
    grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr)!important;
    align-items:center!important;
    gap:24px!important;
    min-height:150px!important;
    margin-bottom:20px!important;
    padding:26px 34px!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(15,23,42,.06)!important;
}
.pduaaf-external-wizard-copy {
    display:none!important;
}
.pduaaf-external-wizard-copy.is-active {
    display:block!important;
}
.pduaaf-external-wizard-copy h2 {
    margin:0 0 14px!important;
    color:#06080c!important;
    font-size:1.55rem!important;
    font-weight:900!important;
}
.pduaaf-external-wizard-copy p {
    margin:0!important;
    color:#8a8f98!important;
    font-size:.95rem!important;
    font-weight:800!important;
}
.pduaaf-external-stepper {
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:0!important;
    margin:0!important;
    direction:ltr!important;
}
.pduaaf-external-stepper .pduaaf-step {
    position:relative!important;
    display:grid!important;
    justify-items:center!important;
    gap:10px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#75828e!important;
    text-align:center!important;
    direction:rtl!important;
}
.pduaaf-external-stepper .pduaaf-step:not(:last-child)::after {
    content:""!important;
    position:absolute!important;
    left:-50%!important;
    top:35px!important;
    width:100%!important;
    height:3px!important;
    background:#e4e4e4!important;
}
.pduaaf-external-stepper .pduaaf-step > .pduaaf-svg-icon {
    position:relative!important;
    z-index:1!important;
    width:70px!important;
    height:70px!important;
    padding:16px!important;
    border:0!important;
    border-radius:12px!important;
    background:#f6f9fa!important;
    color:#9aa1a8!important;
}
.pduaaf-external-stepper .pduaaf-step b {
    color:inherit!important;
    font-size:.88rem!important;
    font-weight:900!important;
}
.pduaaf-external-stepper .pduaaf-step.is-active {
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-external-stepper .pduaaf-step.is-active > .pduaaf-svg-icon {
    padding:13px!important;
    border:6px solid #ffe6eb!important;
    background:#fff4f5!important;
    color:var(--pd-primary,#E1031C)!important;
}
.pduaaf-external-stepper .pduaaf-step.is-done {
    color:#11bf55!important;
}
.pduaaf-external-stepper .pduaaf-step.is-done > .pduaaf-svg-icon {
    background:#c9f9d9!important;
    color:#11bf55!important;
}
.pduaaf-external-stepper .pduaaf-step.is-skipped {
    opacity:.45!important;
}
.pduaaf-external-stepper .pduaaf-step.is-active:not(:last-child)::after,
.pduaaf-external-stepper .pduaaf-step.is-done:not(:last-child)::after {
    background:var(--pd-primary,#E1031C)!important;
}
.pduaaf-external-order-create > form {
    display:block!important;
}
.pduaaf-external-order-create .pduaaf-wizard-panel {
    min-height:560px!important;
    padding:30px 28px!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(15,23,42,.06)!important;
}
.pduaaf-method-grid {
    grid-template-columns:repeat(2,minmax(280px,1fr))!important;
    gap:42px!important;
    width:min(1120px,100%)!important;
    margin:60px auto 0!important;
}
.pduaaf-method-card {
    position:relative!important;
    justify-items:center!important;
    min-height:360px!important;
    padding:44px 36px 28px!important;
    border:2px solid #e6e8ec!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 18px 42px rgba(15,23,42,.04)!important;
    text-align:center!important;
}
.pduaaf-method-card.is-selected {
    border-color:#16b86a!important;
}
.pduaaf-method-check {
    position:absolute!important;
    top:22px!important;
    right:22px!important;
    display:none!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    border-radius:50%!important;
    background:#16b86a!important;
    color:#fff!important;
    box-shadow:0 10px 22px rgba(22,184,106,.28)!important;
}
.pduaaf-method-card.is-selected .pduaaf-method-check {
    display:grid!important;
}
.pduaaf-method-check .pduaaf-svg-icon {
    width:18px!important;
    height:18px!important;
}
.pduaaf-method-icon {
    display:grid!important;
    place-items:center!important;
    width:106px!important;
    height:106px!important;
    border-radius:50%!important;
    background:#eaf8ef!important;
    color:#18b46c!important;
}
.pduaaf-method-icon .pduaaf-svg-icon {
    width:52px!important;
    height:52px!important;
}
.pduaaf-method-card strong {
    margin-top:20px!important;
    color:#151b24!important;
    font-size:1.42rem!important;
    font-weight:900!important;
}
.pduaaf-method-card span:not(.pduaaf-method-icon) {
    max-width:430px!important;
    color:#6e737c!important;
    font-size:1rem!important;
    font-weight:700!important;
    line-height:2!important;
}
.pduaaf-method-card em {
    margin-top:auto!important;
    padding:8px 16px!important;
    border-radius:999px!important;
    background:#effaf4!important;
    color:#2fa36e!important;
    font-size:.8rem!important;
    font-style:normal!important;
    font-weight:900!important;
}
.pduaaf-method-card .pduaaf-template-link {
    margin-top:10px!important;
    border:0!important;
    background:#e7f7ef!important;
    color:#22a66a!important;
}
.pduaaf-dropzone {
    width:min(850px,100%)!important;
    min-height:180px!important;
    margin:150px auto 28px!important;
    border:2px dashed #d8d8d8!important;
    border-radius:4px!important;
    background:#fff!important;
}
.pduaaf-dropzone input[type=file] {
    width:auto!important;
    min-height:0!important;
    border:0!important;
    background:transparent!important;
}
.pduaaf-items-toolbar {
    justify-content:flex-end!important;
    margin:78px 0 16px!important;
}
.pduaaf-items-toolbar h3 {
    display:none!important;
}
.pduaaf-external-items-table,
#pduaaf-external-review {
    min-height:360px!important;
    border:1px solid #edf0f4!important;
    border-radius:10px!important;
    overflow:auto!important;
}
.pduaaf-external-item-head,
.pduaaf-external-item-row,
.pduaaf-review-table tr {
    min-width:920px!important;
}
.pduaaf-external-item-head,
.pduaaf-external-item-row {
    grid-template-columns:46px 1.25fr 1.25fr .85fr .95fr 1fr 1.35fr 44px!important;
}
.pduaaf-external-item-head {
    background:#e8edf3!important;
    color:#111827!important;
}
.pduaaf-external-item-row input,
.pduaaf-external-item-row select,
.pduaaf-modal-form input,
.pduaaf-modal-form select,
.pduaaf-modal-form textarea {
    border:0!important;
    border-radius:13px!important;
    background:#f4f4f5!important;
}
.pduaaf-external-order-create .pduaaf-form-actions {
    margin-top:26px!important;
}
.pduaaf-external-order-create .pduaaf-form-actions .button-primary {
    min-width:190px!important;
    min-height:52px!important;
    border-color:var(--pd-primary,#E1031C)!important;
    background:var(--pd-primary,#E1031C)!important;
    box-shadow:0 12px 24px color-mix(in srgb,var(--pd-primary,#E1031C) 26%,transparent)!important;
}
.pduaaf-external-order-create .pduaaf-form-actions .button-secondary {
    min-width:150px!important;
    min-height:52px!important;
    border:1px solid #cfd3d8!important;
    background:#fff!important;
    color:#8a8a8a!important;
    box-shadow:none!important;
}
.pduaaf-external-success-meta {
    display:grid!important;
    grid-template-columns:auto auto!important;
    gap:10px 28px!important;
    padding:18px 28px!important;
    border-radius:12px!important;
    background:#dff9e9!important;
    color:#13bd55!important;
    font-size:1.05rem!important;
    font-weight:900!important;
}

@media (max-width:980px) {
    .pduaaf-profile-form .pduaaf-form-grid,
    .pduaaf-external-wizard-head,
    .pduaaf-method-grid {
        grid-template-columns:1fr!important;
    }
    .pduaaf-external-stepper {
        overflow-x:auto!important;
        padding-bottom:8px!important;
    }
    .pduaaf-external-stepper .pduaaf-step {
        min-width:120px!important;
    }
}
@media (max-width:640px) {
    .pduaaf-input-with-action {
        grid-template-columns:1fr!important;
    }
}

/* Keep the reference order-detail table from inheriting create-wizard table chrome. */
.pduaaf-external-order-details .pduaaf-external-items-table {
    min-height:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
}
.pduaaf-external-order-details .pduaaf-external-items-table th,
.pduaaf-external-order-details .pduaaf-external-items-table td {
    display:table-cell!important;
}
.pduaaf-external-order-details .pduaaf-external-items-table tr {
    min-width:0!important;
}
.pduaaf-external-order-details .pduaaf-order-help-card {
    display:grid!important;
}

/* ---------- Dashboard repair after order-detail overrides ---------- */
.pduaaf-dashboard {
    display:grid!important;
    grid-template-columns:1fr!important;
    align-content:start!important;
    gap:22px!important;
    width:100%!important;
}
.pduaaf-dashboard .pduaaf-account-top-heading {
    direction:rtl!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;
    margin:0!important;
    text-align:right!important;
}
.pduaaf-dashboard .pduaaf-account-top-icon {
    order:0!important;
    flex:0 0 52px!important;
    width:52px!important;
    height:52px!important;
    border-radius:14px!important;
    background:#f1f3f6!important;
    color:#96a0af!important;
    box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
}
.pduaaf-dashboard .pduaaf-account-top-icon .pduaaf-svg-icon {
    width:28px!important;
    height:28px!important;
}
.pduaaf-dashboard .pduaaf-account-top-heading strong {
    order:1!important;
    flex:0 0 auto!important;
    color:#566172!important;
    font-size:1.18rem!important;
    font-weight:900!important;
    line-height:1.4!important;
    white-space:nowrap!important;
}
.pduaaf-dashboard .pduaaf-account-top-rule {
    order:2!important;
    flex:1 1 auto!important;
    min-width:40px!important;
    height:1px!important;
    border-top:2px dashed #d5dbe4!important;
}
.pduaaf-dashboard > .pduaaf-notice,
.pduaaf-dashboard > .pduaaf-section,
.pduaaf-dashboard > .pduaaf-stats-grid {
    width:100%!important;
    min-width:0!important;
    margin:0!important;
}
.pduaaf-dashboard > .pduaaf-notice {
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
    padding:24px 28px!important;
    overflow:hidden!important;
}
.pduaaf-dashboard > .pduaaf-announcement {
    background:#fff0f0!important;
    border:0!important;
    border-right:6px solid var(--pd-primary,#E1031C)!important;
}
.pduaaf-dashboard .pduaaf-announcement-content,
.pduaaf-dashboard .pduaaf-notice-content {
    min-width:0!important;
}
.pduaaf-dashboard .pduaaf-announcement-content h3,
.pduaaf-dashboard .pduaaf-notice-content h3 {
    margin:0 0 8px!important;
    color:var(--pd-primary,#E1031C)!important;
    font-size:1rem!important;
    font-weight:900!important;
}
.pduaaf-dashboard .pduaaf-announcement-content p,
.pduaaf-dashboard .pduaaf-notice-content p {
    margin:0!important;
    color:#2f3747!important;
    font-size:.9rem!important;
    font-weight:700!important;
    line-height:1.95!important;
    overflow-wrap:normal!important;
}
.pduaaf-dashboard > .pduaaf-stats-grid {
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
    gap:18px!important;
}
.pduaaf-dashboard .pduaaf-stat-card {
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    align-content:center!important;
    gap:12px!important;
    min-width:0!important;
    min-height:148px!important;
    padding:20px 14px!important;
    border-radius:18px!important;
    background:#fff!important;
    overflow:hidden!important;
}
.pduaaf-dashboard .pduaaf-stat-icon {
    width:58px!important;
    height:58px!important;
    border-radius:14px!important;
}
.pduaaf-dashboard .pduaaf-stat-icon::after {
    display:none!important;
}
.pduaaf-dashboard .pduaaf-stat-content {
    display:grid!important;
    justify-items:center!important;
    gap:4px!important;
    min-width:0!important;
    width:100%!important;
}
.pduaaf-dashboard .pduaaf-stat-content h3 {
    margin:0!important;
    color:#566172!important;
    font-size:1.25rem!important;
    font-weight:900!important;
    line-height:1.2!important;
    overflow-wrap:normal!important;
}
.pduaaf-dashboard .pduaaf-stat-content p {
    max-width:100%!important;
    margin:0!important;
    color:#566172!important;
    font-size:.86rem!important;
    font-weight:900!important;
    line-height:1.55!important;
    text-align:center!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.pduaaf-dashboard .pduaaf-section-header {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    flex-wrap:nowrap!important;
}
.pduaaf-dashboard .pduaaf-section-header h2 {
    width:auto!important;
    min-width:0!important;
    margin:0!important;
}

@media (min-width: 981px) and (max-width: 1320px) {
    .pduaaf-dashboard > .pduaaf-stats-grid {
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
@media (max-width: 760px) {
    .pduaaf-dashboard > .pduaaf-notice {
        grid-template-columns:42px minmax(0,1fr)!important;
        padding:20px!important;
    }
    .pduaaf-dashboard > .pduaaf-notice .button,
    .pduaaf-dashboard > .pduaaf-notice .pduaaf-notice-action {
        grid-column:1/-1!important;
        width:100%!important;
    }
    .pduaaf-dashboard > .pduaaf-stats-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media (max-width: 520px) {
    .pduaaf-dashboard .pduaaf-account-top-icon {
        flex-basis:44px!important;
        width:44px!important;
        height:44px!important;
    }
    .pduaaf-dashboard > .pduaaf-stats-grid {
        grid-template-columns:1fr!important;
    }
    .pduaaf-dashboard .pduaaf-stat-content p {
        white-space:normal!important;
    }
}

/* Account page title: icon, text, then rule from right to left. */
.woocommerce-account .woocommerce > .pduaaf-account-top-heading,
.woocommerce-account .woocommerce-MyAccount-content > .pduaaf-account-top-heading {
    direction:rtl!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;
    margin:0 0 24px!important;
    padding:0!important;
    text-align:right!important;
}
.woocommerce-account .woocommerce > .pduaaf-account-top-heading {
    order:-1!important;
    grid-column:1 / -1!important;
    flex:0 0 100%!important;
}
.woocommerce-account .woocommerce > .pduaaf-account-top-heading .pduaaf-account-top-icon,
.woocommerce-account .woocommerce-MyAccount-content > .pduaaf-account-top-heading .pduaaf-account-top-icon {
    order:0!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 52px!important;
    width:52px!important;
    height:52px!important;
    border-radius:14px!important;
    background:#f1f3f6!important;
    color:#96a0af!important;
    box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
}
.woocommerce-account .woocommerce > .pduaaf-account-top-heading .pduaaf-account-top-icon .pduaaf-svg-icon,
.woocommerce-account .woocommerce-MyAccount-content > .pduaaf-account-top-heading .pduaaf-account-top-icon .pduaaf-svg-icon {
    width:28px!important;
    height:28px!important;
}
.woocommerce-account .woocommerce > .pduaaf-account-top-heading strong,
.woocommerce-account .woocommerce-MyAccount-content > .pduaaf-account-top-heading strong {
    order:1!important;
    flex:0 0 auto!important;
    color:#566172!important;
    font-size:1.18rem!important;
    font-weight:900!important;
    line-height:1.4!important;
    white-space:nowrap!important;
}
.woocommerce-account .woocommerce > .pduaaf-account-top-heading .pduaaf-account-top-rule,
.woocommerce-account .woocommerce-MyAccount-content > .pduaaf-account-top-heading .pduaaf-account-top-rule {
    order:2!important;
    flex:1 1 auto!important;
    min-width:40px!important;
    height:1px!important;
    border-top:2px dashed #d5dbe4!important;
}

/* External order wizard: contain each component instead of relying on theme button layout. */
.pduaaf-external-order-create {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    container-type:inline-size;
}
.pduaaf-external-order-create [hidden] { display:none!important; }
.pduaaf-external-order-create > form {
    width:100%!important;
    min-width:0!important;
    margin:0!important;
}
.pduaaf-external-wizard-head {
    grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)!important;
    gap:28px!important;
    min-height:150px!important;
    margin-bottom:22px!important;
    padding:26px 32px!important;
    border-radius:16px!important;
    overflow:hidden!important;
}
.pduaaf-external-wizard-copy h2 { font-size:1.3rem!important; line-height:1.6!important; }
.pduaaf-external-wizard-copy p { font-size:.9rem!important; line-height:1.8!important; }
.pduaaf-external-stepper {
    direction:rtl!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(0,1fr)!important;
    align-items:start!important;
    overflow:visible!important;
    padding:0!important;
}
.pduaaf-external-stepper .pduaaf-step { min-width:0!important; gap:10px!important; }
.pduaaf-external-stepper .pduaaf-step:not(:last-child)::after {
    top:29px!important;
    left:-50%!important;
    right:auto!important;
    height:2px!important;
}
.pduaaf-external-stepper .pduaaf-step > .pduaaf-svg-icon {
    width:58px!important;
    height:58px!important;
    padding:13px!important;
    border-radius:8px!important;
}
.pduaaf-external-stepper .pduaaf-step.is-active > .pduaaf-svg-icon { padding:10px!important; border-width:5px!important; }
.pduaaf-external-stepper .pduaaf-step b { font-size:.78rem!important; line-height:1.7!important; white-space:normal!important; }
.pduaaf-external-order-create .pduaaf-wizard-panel {
    min-width:0!important;
    min-height:620px!important;
    padding:32px!important;
    border-radius:16px!important;
    box-shadow:0 8px 28px rgba(15,23,42,.06)!important;
    overflow:visible!important;
}
.pduaaf-external-order-create .pduaaf-wizard-panel.is-active {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:20px!important;
}
.pduaaf-external-order-create .pduaaf-wizard-panel > * { min-width:0!important; max-width:100%!important; }
.pduaaf-external-order-create .pduaaf-method-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:28px!important;
    width:100%!important;
    max-width:100%!important;
    margin:28px 0 0!important;
}
.pduaaf-external-order-create .pduaaf-method-card {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:24px!important;
    min-width:0!important;
    min-height:350px!important;
    padding:30px 20px 20px!important;
    border:2px solid #e4e6ea!important;
    border-radius:22px!important;
    background:#fff!important;
    overflow:visible!important;
    transform:none!important;
    white-space:normal!important;
}
.pduaaf-external-order-create .pduaaf-method-card:hover { transform:none!important; border-color:#a5d9bf!important; }
.pduaaf-external-order-create .pduaaf-method-card.is-selected {
    border-color:#20ac70!important;
    box-shadow:0 6px 22px rgba(23,185,107,.1)!important;
}
.pduaaf-external-order-create .pduaaf-method-select {
    appearance:none!important;
    position:static!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
    align-content:start!important;
    gap:18px!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
    font:inherit!important;
    text-align:center!important;
    white-space:normal!important;
    cursor:pointer!important;
    transform:none!important;
}
.pduaaf-external-order-create .pduaaf-method-select:focus-visible { outline:2px solid #20ac70!important; outline-offset:6px!important; }
.pduaaf-external-order-create .pduaaf-method-select::before,
.pduaaf-external-order-create .pduaaf-method-select::after { content:none!important; }
.pduaaf-external-order-create .pduaaf-method-check {
    display:grid!important;
    top:20px!important;
    right:20px!important;
    width:28px!important;
    height:28px!important;
    padding:0!important;
    border:1.5px solid #adb4b6!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#fff!important;
    box-shadow:none!important;
}
.pduaaf-external-order-create .pduaaf-method-card.is-selected .pduaaf-method-check {
    border-color:#20ac70!important;
    background:#20ac70!important;
    box-shadow:0 4px 16px rgba(32,172,112,.3)!important;
}
.pduaaf-external-order-create .pduaaf-method-check .pduaaf-svg-icon {
    visibility:hidden!important;
    width:16px!important;
    height:16px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#fff!important;
    fill:currentColor!important;
}
.pduaaf-external-order-create .pduaaf-method-card.is-selected .pduaaf-method-check .pduaaf-svg-icon { visibility:visible!important; }
.pduaaf-external-order-create .pduaaf-method-icon { width:96px!important; height:96px!important; color:#20ac70!important; }
.pduaaf-external-order-create .pduaaf-method-card[data-method="excel"] .pduaaf-method-icon { background:#e8f4fa!important; color:#238eb5!important; }
.pduaaf-external-order-create .pduaaf-method-icon .pduaaf-svg-icon {
    width:50px!important;
    height:50px!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
}
.pduaaf-external-order-create .pduaaf-method-card strong {
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    font-size:1.15rem!important;
    line-height:1.8!important;
    white-space:normal!important;
}
.pduaaf-external-order-create .pduaaf-method-card .pduaaf-method-description {
    width:100%!important;
    min-width:0!important;
    max-width:430px!important;
    font-size:.93rem!important;
    font-weight:500!important;
    line-height:2!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
.pduaaf-external-order-create .pduaaf-method-footer {
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    margin-top:auto!important;
}
.pduaaf-external-order-create .pduaaf-method-card em,
.pduaaf-external-order-create .pduaaf-template-link {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:32px!important;
    margin:0!important;
    padding:7px 10px!important;
    border:0!important;
    border-radius:24px!important;
    background:#effaf4!important;
    color:#299d69!important;
    box-shadow:none!important;
    font-size:.7rem!important;
    font-weight:700!important;
    line-height:1.8!important;
    white-space:normal!important;
}
.pduaaf-external-order-create .pduaaf-template-link { border-radius:10px!important; background:#e7f7ef!important; }
.pduaaf-external-order-create .pduaaf-method-footer .pduaaf-svg-icon { width:18px!important; height:18px!important; padding:0!important; border-radius:0!important; background:transparent!important; color:inherit!important; }
.pduaaf-external-order-create .pduaaf-form-actions {
    flex-shrink:0!important;
    justify-content:space-between!important;
    width:100%!important;
    margin-top:auto!important;
    padding-top:28px!important;
}
.woocommerce-account .woocommerce-MyAccount-content .pduaaf-external-order-create .button.button-secondary {
    border:1px solid #c7c9cc!important;
    background:#fff!important;
    color:#85888c!important;
    box-shadow:none!important;
}
.pduaaf-external-order-create .pduaaf-form-actions .button { min-width:150px!important; min-height:46px!important; border-radius:12px!important; }
.pduaaf-external-order-create .pduaaf-items-toolbar { flex:0 0 auto!important; flex-direction:row!important; align-items:center!important; justify-content:space-between!important; flex-wrap:wrap!important; margin:0!important; }
.pduaaf-external-order-create .pduaaf-items-toolbar h3 { display:block!important; margin:0!important; }
.pduaaf-external-order-create .pduaaf-external-items-table,
.pduaaf-external-order-create #pduaaf-external-review { width:100%!important; min-height:240px!important; }
.pduaaf-external-order-create .pduaaf-external-items-table .pduaaf-empty-state { display:grid!important; place-content:center!important; min-height:240px!important; margin:0!important; padding:24px!important; border:0!important; box-shadow:none!important; }
.pduaaf-external-order-create .pduaaf-external-item-head,
.pduaaf-external-order-create .pduaaf-external-item-row { display:grid!important; grid-template-columns:46px 1.25fr 1.25fr .85fr .95fr 1fr 1.35fr 44px!important; }
.pduaaf-external-order-create .pduaaf-dropzone { min-height:240px!important; margin:20px auto!important; }
@container (max-width:780px) {
    .pduaaf-external-wizard-head { grid-template-columns:minmax(0,1fr)!important; }
    .pduaaf-external-order-create .pduaaf-method-grid { grid-template-columns:minmax(0,1fr)!important; margin-top:0!important; }
    .pduaaf-external-order-create .pduaaf-method-card { min-height:320px!important; }
    .pduaaf-external-order-create .pduaaf-wizard-panel { min-height:520px!important; padding:24px!important; }
}
@container (max-width:420px) {
    .pduaaf-external-wizard-head { padding:20px 12px!important; }
    .pduaaf-external-stepper .pduaaf-step > .pduaaf-svg-icon { width:42px!important; height:42px!important; padding:9px!important; }
    .pduaaf-external-stepper .pduaaf-step.is-active > .pduaaf-svg-icon { padding:7px!important; border-width:3px!important; }
    .pduaaf-external-stepper .pduaaf-step:not(:last-child)::after { top:21px!important; }
    .pduaaf-external-stepper .pduaaf-step b { font-size:.65rem!important; }
    .pduaaf-external-order-create .pduaaf-wizard-panel { padding:18px!important; }
    .pduaaf-external-order-create .pduaaf-form-actions { flex-direction:column-reverse!important; }
    .pduaaf-external-order-create .pduaaf-form-actions .button { width:100%!important; min-width:0!important; }
}

@media (max-width:1180px) {
    .pduaaf-external-wizard-head {
        padding-inline:28px!important;
    }
    .pduaaf-external-order-create .pduaaf-wizard-panel {
        padding-inline:28px!important;
    }
    .pduaaf-external-order-create .pduaaf-method-grid {
        gap:24px!important;
    }
}
@media (max-width:980px) {
    .woocommerce-account .woocommerce {
        grid-template-columns:1fr!important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        grid-column:1!important;
    }
    .woocommerce-account .woocommerce > .pduaaf-account-top-heading {
        margin-bottom:4px!important;
    }
    .pduaaf-external-wizard-head {
        grid-template-columns:1fr!important;
        gap:22px!important;
        padding:24px!important;
    }
    .pduaaf-external-order-create .pduaaf-method-grid {
        grid-template-columns:1fr!important;
        margin-top:8px!important;
    }
    .pduaaf-external-order-create .pduaaf-wizard-panel {
        min-height:auto!important;
        padding:28px 22px!important;
    }
}
@media (max-width:560px) {
    .woocommerce-account .woocommerce > .pduaaf-account-top-heading {
        gap:9px!important;
    }
    .woocommerce-account .woocommerce > .pduaaf-account-top-heading .pduaaf-account-top-icon {
        flex-basis:42px!important;
        width:42px!important;
        height:42px!important;
    }
    .woocommerce-account .woocommerce > .pduaaf-account-top-heading strong {
        font-size:1rem!important;
    }
    .pduaaf-external-order-create .pduaaf-wizard-panel[data-step="method"] .pduaaf-form-actions {
        flex-direction:column-reverse!important;
    }
    .pduaaf-external-order-create .pduaaf-form-actions .button-primary,
    .pduaaf-external-order-create .pduaaf-form-actions .button-secondary {
        width:100%!important;
    }
}

/* Final account shell override: keep sidebar and content beside each other
   after older 980px responsive rules, and stack only on mobile. */
@media (min-width:761px) {
    .woocommerce-account .woocommerce {
        display:grid!important;
        grid-template-columns:310px minmax(0,1fr)!important;
        grid-auto-flow:row!important;
        align-items:start!important;
        gap:28px!important;
    }
    .woocommerce-account .woocommerce > .pduaaf-account-top-heading {
        grid-column:1 / -1!important;
        grid-row:1!important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        grid-column:1!important;
        grid-row:2!important;
        width:310px!important;
        min-width:310px!important;
        max-width:310px!important;
        margin:0!important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        grid-column:2!important;
        grid-row:2!important;
        width:auto!important;
        min-width:0!important;
        max-width:none!important;
        margin:0!important;
    }
}
@media (max-width:760px) {
    .woocommerce-account .woocommerce {
        display:grid!important;
        grid-template-columns:1fr!important;
    }
    .woocommerce-account .woocommerce > .pduaaf-account-top-heading,
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        grid-column:1!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}
