/* Woo Wallet & Affiliate v1.3.0 - mobile-first refinement */
:root {
    --wwap-v4-text: #171a21;
    --wwap-v4-muted: #6b7280;
    --wwap-v4-line: #e5e7eb;
    --wwap-v4-soft: #f7f8fa;
    --wwap-v4-soft-blue: #f3f7ff;
    --wwap-v4-blue: #1967d2;
    --wwap-v4-blue-dark: #0f4fae;
    --wwap-v4-green: #17834a;
    --wwap-v4-red: #bf2c2c;
    --wwap-v4-amber: #9a5b00;
    --wwap-v4-radius: 18px;
    --wwap-v4-radius-sm: 12px;
    --wwap-v4-shadow: 0 10px 35px rgba(17, 24, 39, .06);
}

/* Keep all plugin interfaces inside their parent width. */
.wwap-shortcode-dashboard,
.woocommerce-myaccount-wallet-content,
.wwap-claim-center,
.wwap-affiliate-dashboard-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.wwap-shortcode-dashboard *,
.woocommerce-myaccount-wallet-content *,
.wwap-claim-center *,
.wwap-affiliate-dashboard-container * {
    box-sizing: border-box;
}

/* Wallet navigation: no cut-off horizontal tabs. */
.woocommerce-myaccount-wallet-content .wwap-wallet-tabs {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs li {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 44px !important;
    width: 100% !important;
    padding: 9px 10px !important;
    border: 1px solid var(--wwap-v4-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    box-shadow: none !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs li.active a {
    border-color: rgba(25, 103, 210, .25) !important;
    background: var(--wwap-v4-soft-blue) !important;
    color: var(--wwap-v4-blue) !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs .wwap-tab-icon {
    display: inline-flex !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs .wwap-tab-icon svg {
    width: 16px !important;
    height: 16px !important;
}

/* Compact wallet surfaces. */
.woocommerce-myaccount-wallet-content .wwap-wallet-topup,
.woocommerce-myaccount-wallet-content .wwap-wallet-withdrawal-container,
.woocommerce-myaccount-wallet-content .wwap-withdrawal-status-table-container,
.woocommerce-myaccount-wallet-content .wwap-wallet-transfer,
.woocommerce-myaccount-wallet-content .wwap-wallet-transactions,
.woocommerce-myaccount-wallet-content .wwap-payment-details,
.woocommerce-myaccount-wallet-content .wwap-affiliate-referrals-transfer-container {
    margin: 0 0 14px !important;
    padding: 18px !important;
    border: 1px solid var(--wwap-v4-line) !important;
    border-radius: var(--wwap-v4-radius) !important;
    background: #fff !important;
    box-shadow: var(--wwap-v4-shadow) !important;
    overflow: hidden !important;
}

.woocommerce-myaccount-wallet-content h3,
.woocommerce-myaccount-wallet-content .wwap-section-heading h3 {
    margin: 0 0 6px !important;
    color: var(--wwap-v4-text) !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
}

.woocommerce-myaccount-wallet-content .wwap-section-heading p {
    margin: 0 !important;
    color: var(--wwap-v4-muted) !important;
    font-size: 13px !important;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    margin-top: 14px !important;
    padding: 0 !important;
    background: transparent !important;
}

.woocommerce-myaccount-wallet-content .wwap-total-balance,
.woocommerce-myaccount-wallet-content .wwap-topup-wallet {
    min-width: 0 !important;
    min-height: 146px !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--wwap-v4-line) !important;
    border-radius: 15px !important;
    background: var(--wwap-v4-soft) !important;
}

.woocommerce-myaccount-wallet-content .wallet-balance {
    color: var(--wwap-v4-blue) !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
}

.woocommerce-myaccount-wallet-content .wallet-balance-text,
.woocommerce-myaccount-wallet-content .wwap-card-label {
    color: var(--wwap-v4-muted) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

.woocommerce-myaccount-wallet-content input[type="text"],
.woocommerce-myaccount-wallet-content input[type="email"],
.woocommerce-myaccount-wallet-content input[type="number"],
.woocommerce-myaccount-wallet-content select,
.woocommerce-myaccount-wallet-content textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid #d6dae1 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--wwap-v4-text) !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.woocommerce-myaccount-wallet-content input[type="submit"],
.woocommerce-myaccount-wallet-content button,
.woocommerce-myaccount-wallet-content .button {
    min-height: 44px !important;
    padding: 10px 16px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.woocommerce-myaccount-wallet-content .wallet-topup-input-submit-button {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: stretch !important;
}

/* Compact [wwap_wallet] balance card. */
.wwap-wallet-shortcode {
    width: 100% !important;
    min-height: 82px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--wwap-v4-line) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(17, 24, 39, .045) !important;
}

.wwap-wallet-shortcode .wwap-wallet-shortcode-label {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.wwap-wallet-shortcode .wwap-wallet-shortcode-amount {
    margin-top: 3px !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
}

/* Return / Refund Center */
.wwap-claim-center {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0 28px;
    color: var(--wwap-v4-text);
    font-family: inherit;
}

.wwap-claim-center a,
.wwap-claim-center button,
.wwap-claim-center input,
.wwap-claim-center select,
.wwap-claim-center textarea {
    font-family: inherit;
}

.wwap-claim-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 20px;
    border: 1px solid var(--wwap-v4-line);
    border-radius: var(--wwap-v4-radius);
    background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
    box-shadow: var(--wwap-v4-shadow);
}

.wwap-claim-eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--wwap-v4-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wwap-claim-hero h2,
.wwap-claim-history h3 {
    margin: 0;
    color: var(--wwap-v4-text);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.wwap-claim-hero p,
.wwap-claim-history-head p {
    max-width: 690px;
    margin: 7px 0 0;
    color: var(--wwap-v4-muted);
    font-size: 13px;
    line-height: 1.55;
}

.wwap-claim-window-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--wwap-v4-soft-blue);
    color: var(--wwap-v4-blue);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.wwap-claim-notice {
    margin: 0 0 12px;
    padding: 11px 13px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.wwap-claim-notice.is-success {
    border-color: #bfe6cf;
    background: #f2fbf6;
    color: #17643a;
}

.wwap-claim-notice.is-error {
    border-color: #f0caca;
    background: #fff6f6;
    color: #9f2525;
}

.wwap-claim-form,
.wwap-claim-history {
    border: 1px solid var(--wwap-v4-line);
    border-radius: var(--wwap-v4-radius);
    background: #fff;
    box-shadow: var(--wwap-v4-shadow);
    overflow: hidden;
}

.wwap-claim-step {
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f3;
}

.wwap-claim-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

.wwap-claim-step-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--wwap-v4-text);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.wwap-claim-step-head h3 {
    margin: 0;
    color: var(--wwap-v4-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 780;
}

.wwap-claim-step-head p {
    margin: 2px 0 0;
    color: var(--wwap-v4-muted);
    font-size: 12px;
    line-height: 1.35;
}

.wwap-claim-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wwap-claim-type-card {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--wwap-v4-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.wwap-claim-type-card:hover {
    transform: translateY(-1px);
}

.wwap-claim-type-card.is-selected {
    border-color: rgba(25, 103, 210, .45);
    background: var(--wwap-v4-soft-blue);
}

.wwap-claim-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wwap-claim-type-icon {
    grid-row: 1 / 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--wwap-v4-soft);
    color: var(--wwap-v4-text);
    font-size: 18px;
    font-weight: 800;
}

.wwap-claim-type-card.is-selected .wwap-claim-type-icon {
    background: #fff;
    color: var(--wwap-v4-blue);
}

.wwap-claim-type-card strong {
    align-self: end;
    min-width: 0;
    color: var(--wwap-v4-text);
    font-size: 14px;
    line-height: 1.2;
}

.wwap-claim-type-card small {
    align-self: start;
    min-width: 0;
    margin-top: 2px;
    color: var(--wwap-v4-muted);
    font-size: 11px;
    line-height: 1.35;
}

.wwap-claim-field-label {
    display: block;
    margin: 0 0 6px;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.wwap-claim-center select,
.wwap-claim-center textarea,
.wwap-claim-center input[type="number"] {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #d7dce3;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: var(--wwap-v4-text);
    font-size: 14px;
    line-height: 1.35;
    box-shadow: none;
}

.wwap-claim-center textarea {
    min-height: 105px;
    resize: vertical;
}

.wwap-claim-center select:focus,
.wwap-claim-center textarea:focus,
.wwap-claim-center input[type="number"]:focus {
    border-color: rgba(25, 103, 210, .7);
    box-shadow: 0 0 0 3px rgba(25, 103, 210, .08);
}

.wwap-claim-order-groups {
    margin-top: 11px;
}

.wwap-claim-order-group {
    display: none;
}

.wwap-claim-order-group.is-active {
    display: block;
}

.wwap-claim-order-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: var(--wwap-v4-muted);
    font-size: 11px;
}

.wwap-claim-order-meta strong {
    color: var(--wwap-v4-text);
}

.wwap-claim-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.wwap-claim-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--wwap-v4-line);
    border-radius: 13px;
    background: #fff;
}

.wwap-claim-product.is-selected {
    border-color: rgba(25, 103, 210, .42);
    background: #fbfdff;
}

.wwap-claim-product-main {
    display: grid;
    grid-template-columns: 22px 50px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    cursor: pointer;
}

.wwap-claim-product-main > input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--wwap-v4-blue);
}

.wwap-claim-product-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--wwap-v4-soft);
}

.wwap-claim-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.wwap-claim-product-copy {
    display: block;
    min-width: 0;
}

.wwap-claim-product-copy strong {
    display: block;
    overflow: hidden;
    color: var(--wwap-v4-text);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 720;
    text-overflow: ellipsis;
}

.wwap-claim-product-copy small {
    display: block;
    margin-top: 3px;
    color: var(--wwap-v4-muted);
    font-size: 10.5px;
    line-height: 1.35;
}

.wwap-claim-qty-wrap label {
    display: block;
    margin-bottom: 4px;
    color: var(--wwap-v4-muted);
    font-size: 10px;
    font-weight: 700;
}

.wwap-claim-qty-wrap input {
    min-height: 38px !important;
    padding: 7px 8px !important;
    text-align: center;
}

.wwap-claim-qty-wrap input:disabled {
    opacity: .5;
    background: #f4f5f6;
}

.wwap-claim-evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wwap-claim-upload-card {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 13px;
    border: 1px dashed #c9d0d9;
    border-radius: 13px;
    background: #fbfcfd;
    cursor: pointer;
}

.wwap-claim-upload-card input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.wwap-claim-upload-icon {
    grid-row: 1 / 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #fff;
    color: var(--wwap-v4-blue);
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(17,24,39,.06);
}

.wwap-claim-upload-card strong {
    color: var(--wwap-v4-text);
    font-size: 13px;
    line-height: 1.25;
}

.wwap-claim-upload-card small {
    color: var(--wwap-v4-muted);
    font-size: 10.5px;
    line-height: 1.3;
}

.wwap-claim-file-name {
    overflow: hidden;
    margin-top: 3px;
    color: #8a93a1;
    font-size: 10.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wwap-claim-file-name.has-file {
    color: var(--wwap-v4-green);
    font-weight: 650;
}

.wwap-claim-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: #fafbfc;
}

.wwap-claim-submit-row p {
    max-width: 590px;
    margin: 0;
    color: var(--wwap-v4-muted);
    font-size: 11px;
    line-height: 1.45;
}

.wwap-claim-submit {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 11px;
    background: var(--wwap-v4-text);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.wwap-claim-submit:hover {
    background: #05070b;
}

.wwap-claim-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.wwap-claim-empty,
.wwap-claim-history-empty {
    padding: 22px;
    border: 1px solid var(--wwap-v4-line);
    border-radius: var(--wwap-v4-radius);
    background: #fff;
    color: var(--wwap-v4-muted);
    text-align: center;
    box-shadow: var(--wwap-v4-shadow);
}

.wwap-claim-empty strong {
    display: block;
    margin-bottom: 5px;
    color: var(--wwap-v4-text);
    font-size: 16px;
}

.wwap-claim-empty p {
    max-width: 650px;
    margin: 5px auto 0;
    font-size: 12px;
    line-height: 1.5;
}

.wwap-claim-history {
    margin-top: 14px;
}

.wwap-claim-history-head {
    padding: 18px 20px 12px;
}

.wwap-claim-history-head h3 {
    font-size: 18px;
}

.wwap-claim-history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 20px 20px;
}

.wwap-claim-history-card {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--wwap-v4-line);
    border-radius: 13px;
    background: #fff;
}

.wwap-claim-history-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.wwap-claim-history-top > div {
    min-width: 0;
}

.wwap-claim-history-top strong {
    display: block;
    margin-top: 6px;
    color: var(--wwap-v4-text);
    font-size: 12.5px;
}

.wwap-claim-type-pill,
.wwap-claim-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 750;
    white-space: nowrap;
}

.wwap-claim-type-pill.is-refund {
    background: #edf5ff;
    color: #195fb3;
}

.wwap-claim-type-pill.is-return {
    background: #f4f0ff;
    color: #6741b3;
}

.wwap-claim-status.is-pending,
.wwap-claim-status.is-processing-refund,
.wwap-claim-status.is-return-approved {
    background: #fff6e6;
    color: var(--wwap-v4-amber);
}

.wwap-claim-status.is-refunded,
.wwap-claim-status.is-return-refunded {
    background: #ecf9f1;
    color: var(--wwap-v4-green);
}

.wwap-claim-status.is-rejected,
.wwap-claim-status.is-cancelled {
    background: #fff0f0;
    color: var(--wwap-v4-red);
}

.wwap-claim-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 10px;
    color: var(--wwap-v4-muted);
    font-size: 10.5px;
}

.wwap-claim-items-line {
    margin: 9px 0 0;
    color: #495364;
    font-size: 11px;
    line-height: 1.45;
}

.wwap-claim-inline-note {
    margin-top: 9px;
    padding: 8px 9px;
    border-radius: 9px;
    background: var(--wwap-v4-soft);
    color: #586273;
    font-size: 10.5px;
    line-height: 1.45;
}

.wwap-claim-cancel-form {
    margin-top: 8px;
}

.wwap-claim-link-button {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--wwap-v4-red);
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.wwap-order-claim-action {
    margin-top: 12px;
}

/* Responsive tables across wallet/affiliate surfaces. */
@media (max-width: 767px) {
    .woocommerce-myaccount-wallet-content .wwap-wallet-table,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-requests-status-table,
    .woocommerce-myaccount-wallet-content .wwap-account-table {
        display: block !important;
        width: 100% !important;
        border: 0 !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-table thead,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-requests-status-table thead,
    .woocommerce-myaccount-wallet-content .wwap-account-table thead {
        display: none !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-table tbody,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-requests-status-table tbody,
    .woocommerce-myaccount-wallet-content .wwap-account-table tbody {
        display: grid !important;
        gap: 9px !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-table tr,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-requests-status-table tr,
    .woocommerce-myaccount-wallet-content .wwap-account-table tr {
        display: grid !important;
        gap: 6px !important;
        padding: 11px !important;
        border: 1px solid var(--wwap-v4-line) !important;
        border-radius: 12px !important;
        background: #fff !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-table td,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-requests-status-table td,
    .woocommerce-myaccount-wallet-content .wwap-account-table td {
        display: grid !important;
        grid-template-columns: minmax(92px, .7fr) minmax(0, 1.3fr) !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
        border: 0 !important;
        color: #303846 !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        text-align: right !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-table td::before,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-requests-status-table td::before,
    .woocommerce-myaccount-wallet-content .wwap-account-table td::before {
        content: attr(data-title);
        color: var(--wwap-v4-muted);
        font-weight: 650;
        text-align: left;
    }
}

@media (max-width: 760px) {
    .woocommerce-myaccount-wallet-content .wwap-wallet-tabs ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-summary {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-total-balance,
    .woocommerce-myaccount-wallet-content .wwap-topup-wallet {
        min-height: auto !important;
    }

    .wwap-claim-products,
    .wwap-claim-history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .woocommerce-myaccount-wallet-content {
        padding: 0 !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-topup,
    .woocommerce-myaccount-wallet-content .wwap-wallet-withdrawal-container,
    .woocommerce-myaccount-wallet-content .wwap-withdrawal-status-table-container,
    .woocommerce-myaccount-wallet-content .wwap-wallet-transfer,
    .woocommerce-myaccount-wallet-content .wwap-wallet-transactions,
    .woocommerce-myaccount-wallet-content .wwap-payment-details,
    .woocommerce-myaccount-wallet-content .wwap-affiliate-referrals-transfer-container {
        padding: 13px !important;
        border-radius: 15px !important;
        box-shadow: none !important;
    }

    .woocommerce-myaccount-wallet-content h3,
    .woocommerce-myaccount-wallet-content .wwap-section-heading h3 {
        font-size: 18px !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-tabs li a {
        min-height: 41px !important;
        padding: 8px 6px !important;
        font-size: 11.5px !important;
        border-radius: 10px !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-tabs .wwap-tab-icon {
        flex-basis: 14px !important;
        width: 14px !important;
        height: 14px !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-wallet-tabs .wwap-tab-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .woocommerce-myaccount-wallet-content .wwap-total-balance,
    .woocommerce-myaccount-wallet-content .wwap-topup-wallet {
        padding: 14px !important;
        border-radius: 13px !important;
    }

    .woocommerce-myaccount-wallet-content .wallet-balance {
        font-size: 30px !important;
    }

    .woocommerce-myaccount-wallet-content .wallet-topup-input-submit-button {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-myaccount-wallet-content .wallet-topup-input-submit-button input[type="submit"] {
        width: 100% !important;
    }

    .wwap-wallet-shortcode {
        min-height: 70px !important;
        padding: 11px 12px !important;
        border-radius: 13px !important;
    }

    .wwap-wallet-shortcode .wwap-wallet-shortcode-label {
        font-size: 12.5px !important;
    }

    .wwap-wallet-shortcode .wwap-wallet-shortcode-amount {
        font-size: 18px !important;
    }

    .wwap-claim-center {
        padding-top: 4px;
    }

    .wwap-claim-hero {
        gap: 10px;
        padding: 14px;
        border-radius: 15px;
        box-shadow: none;
    }

    .wwap-claim-hero h2 {
        font-size: 19px;
    }

    .wwap-claim-hero p {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1.45;
    }

    .wwap-claim-window-badge {
        padding: 6px 8px;
        font-size: 9.5px;
    }

    .wwap-claim-form,
    .wwap-claim-history {
        border-radius: 15px;
        box-shadow: none;
    }

    .wwap-claim-step {
        padding: 13px;
    }

    .wwap-claim-step-head {
        gap: 8px;
        margin-bottom: 10px;
    }

    .wwap-claim-step-head > span {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .wwap-claim-step-head h3 {
        font-size: 14px;
    }

    .wwap-claim-step-head p {
        font-size: 10.5px;
    }

    .wwap-claim-type-grid {
        gap: 7px;
    }

    .wwap-claim-type-card {
        grid-template-columns: 29px minmax(0, 1fr);
        column-gap: 7px;
        padding: 10px;
        border-radius: 11px;
    }

    .wwap-claim-type-icon {
        width: 29px;
        height: 29px;
        font-size: 15px;
        border-radius: 9px;
    }

    .wwap-claim-type-card strong {
        font-size: 12.5px;
    }

    .wwap-claim-type-card small {
        font-size: 9.5px;
        line-height: 1.25;
    }

    .wwap-claim-center select,
    .wwap-claim-center textarea,
    .wwap-claim-center input[type="number"] {
        min-height: 41px;
        padding: 9px 10px;
        border-radius: 10px;
        font-size: 12px;
    }

    .wwap-claim-order-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        font-size: 9.5px;
    }

    .wwap-claim-product {
        grid-template-columns: minmax(0, 1fr) 68px;
        gap: 7px;
        padding: 8px;
        border-radius: 11px;
    }

    .wwap-claim-product-main {
        grid-template-columns: 18px 42px minmax(0, 1fr);
        gap: 6px;
    }

    .wwap-claim-product-main > input {
        width: 15px;
        height: 15px;
    }

    .wwap-claim-product-image {
        width: 42px;
        height: 42px;
        border-radius: 8px;
    }

    .wwap-claim-product-copy strong {
        font-size: 11px;
        line-height: 1.25;
    }

    .wwap-claim-product-copy small,
    .wwap-claim-qty-wrap label {
        font-size: 9px;
    }

    .wwap-claim-qty-wrap input {
        min-height: 34px !important;
        font-size: 11px !important;
    }

    .wwap-claim-evidence-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .wwap-claim-upload-card {
        grid-template-columns: 32px minmax(0, 1fr);
        column-gap: 8px;
        padding: 10px;
        border-radius: 11px;
    }

    .wwap-claim-upload-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 9px;
    }

    .wwap-claim-upload-card strong {
        font-size: 11.5px;
    }

    .wwap-claim-upload-card small,
    .wwap-claim-file-name {
        font-size: 9px;
    }

    .wwap-claim-submit-row {
        align-items: stretch;
        flex-direction: column;
        padding: 12px 13px;
    }

    .wwap-claim-submit-row p {
        font-size: 9.5px;
    }

    .wwap-claim-submit {
        width: 100%;
        min-height: 42px;
        font-size: 12px;
    }

    .wwap-claim-history-head {
        padding: 14px 13px 10px;
    }

    .wwap-claim-history-head h3 {
        font-size: 15px;
    }

    .wwap-claim-history-head p {
        font-size: 10px;
    }

    .wwap-claim-history-grid {
        gap: 7px;
        padding: 0 13px 13px;
    }

    .wwap-claim-history-card {
        padding: 10px;
        border-radius: 11px;
    }

    .wwap-claim-history-top {
        gap: 6px;
    }

    .wwap-claim-type-pill,
    .wwap-claim-status {
        padding: 4px 6px;
        font-size: 8.5px;
    }

    .wwap-claim-history-top strong {
        margin-top: 4px;
        font-size: 10.5px;
    }

    .wwap-claim-history-meta,
    .wwap-claim-items-line,
    .wwap-claim-inline-note,
    .wwap-claim-link-button {
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .wwap-claim-hero {
        flex-direction: column;
    }

    .wwap-claim-window-badge {
        align-self: flex-start;
    }

    .wwap-claim-type-card small {
        display: none;
    }

    .wwap-claim-type-card {
        min-height: 54px;
    }
}

/* Progressive claim wizard: on JavaScript-capable browsers, show Step 1 first. */
.wwap-claim-center.is-js .wwap-claim-form:not(.has-claim-type) .wwap-claim-dependent {
    display: none !important;
}
.wwap-claim-center.is-js .wwap-claim-form.has-claim-type .wwap-claim-dependent {
    animation: wwapClaimReveal .22s ease both;
}
@keyframes wwapClaimReveal {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}
