/**
 * BowlersMart Custom My Account Dashboard — Styles
 * Version: 1.4.0
 * 
 * INSTALLATION:
 *   Place this file in your Flatsome child theme root directory.
 *   The PHP file auto-loads it only on My Account pages.
 *
 * BRAND COLORS:
 *   Primary Navy:   #1e3a5f
 *   Medium Blue:    #2d5a8e
 *   Light Blue:     #3a7bc8
 *   Gold:           #f0c040
 *   Dark Gold:      #e6a817
 *   Background:     #f5f6f8
 *   Card BG:        #ffffff
 *   Border:         #e0e0e0
 */


/* ============================================ */
/* HIDE DEFAULT WOOCOMMERCE GREETING            */
/* Hides "Hello Brian (not Brian? Log out)"     */
/* and "From your account dashboard..." text    */
/* ============================================ */

.woocommerce-MyAccount-content > p:first-child,
.woocommerce-MyAccount-content > p:nth-child(2),
.woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-MyAccount-content > p:first-of-type,
.woocommerce-MyAccount-content > p:first-of-type + p {
    display: none !important;
}

/* Only hide these on the dashboard, not other tabs */
.woocommerce-MyAccount-content .bm-dashboard ~ p {
    display: block !important;
}

/* ============================================ */
/* DASHBOARD CONTAINER                          */
/* ============================================ */

.bm-dashboard {
    max-width: 100%;
}


/* ============================================ */
/* WELCOME BANNER                               */
/* ============================================ */

.bm-welcome-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 60%, #3a7bc8 100%);
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.bm-welcome-banner__bg-icon {
    position: absolute;
    right: 30px;
    top: -10px;
    font-size: 120px;
    opacity: 0.06;
    transform: rotate(-15deg);
    pointer-events: none;
    line-height: 1;
}

.bm-welcome-banner__content {
    position: relative;
    z-index: 1;
}

.bm-welcome-banner__title {
    color: #fff !important;
    margin: 0 0 4px !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    font-family: 'Anton', sans-serif !important;
    letter-spacing: 0.5px;
    text-transform: none !important;
}

.bm-welcome-banner__subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 0 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.bm-perks-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bm-perk-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
}

.bm-perk-badge:hover {
    background: rgba(255, 255, 255, 0.18);
}

.bm-perk-badge__icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.bm-perk-badge__text {
    display: flex;
    flex-direction: column;
}

.bm-perk-badge__text strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.bm-perk-badge__text span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.3;
}


/* ============================================ */
/* STRIKING REWARDS TEASER                      */
/* ============================================ */

.bm-rewards-teaser {
    background: #fff;
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    gap: 16px;
}

.bm-rewards-teaser__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.bm-rewards-teaser__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0c040, #e6a817);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(240, 192, 64, 0.35);
    flex-shrink: 0;
    line-height: 1;
}

.bm-rewards-teaser__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bm-rewards-teaser__info strong {
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 700;
}

.bm-rewards-teaser__info span {
    color: #888;
    font-size: 13px;
    margin-top: 1px;
}


/* ============================================ */
/* QUICK ACTIONS                                */
/* ============================================ */

.bm-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.bm-quick-action {
    background: #fff;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}

.bm-quick-action:hover {
    border-color: #2d5a8e;
    box-shadow: 0 2px 8px rgba(45, 90, 142, 0.12);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.bm-quick-action__icon {
    font-size: 26px;
    margin-bottom: 6px;
    line-height: 1;
}

.bm-quick-action strong {
    color: #1e3a5f;
    font-size: 14px;
    font-weight: 700;
    display: block;
}

.bm-quick-action > span {
    color: #999;
    font-size: 11px;
    margin-top: 2px;
    display: block;
}


/* ============================================ */
/* SECTION SHARED STYLES                        */
/* ============================================ */

.bm-section {
    margin-bottom: 28px;
}

.bm-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}

.bm-section__title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
    font-family: 'Anton', sans-serif !important;
    letter-spacing: 0.3px;
    text-transform: none !important;
    line-height: 1.3 !important;
}

.bm-section__subtitle {
    margin: 2px 0 0 !important;
    font-size: 13px !important;
    color: #999 !important;
    line-height: 1.4 !important;
}

.bm-section__link {
    color: #2d5a8e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap;
    padding-top: 4px;
    transition: color 0.2s ease;
}

.bm-section__link:hover {
    color: #1e3a5f !important;
    text-decoration: underline !important;
}

/* Product cards inside dashboard sections */
.bm-section .product-small {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.bm-section .product-small:hover {
    border-color: #2d5a8e;
    box-shadow: 0 2px 8px rgba(45, 90, 142, 0.1);
}

/* Flatsome tabs inside dashboard */
.bm-section .tabbed-content .nav-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.bm-section .tabbed-content .nav-tabs li.active a {
    color: #1e3a5f !important;
    border-bottom-color: #1e3a5f !important;
}

.bm-section .tabbed-content .nav-tabs li a {
    color: #888 !important;
    font-weight: 600;
    font-size: 14px;
}

.bm-section .tabbed-content .nav-tabs li a:hover {
    color: #2d5a8e !important;
}


/* ============================================ */
/* BLOG CARDS — CSS GRADIENT DESIGN             */
/* No images needed, pure CSS + emoji           */
/* ============================================ */

.bm-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bm-blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.bm-blog-card:hover {
    border-color: #2d5a8e;
    box-shadow: 0 4px 16px rgba(45, 90, 142, 0.14);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Gradient header area */
.bm-blog-card__gradient {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bm-blog-card__gradient--blue {
    background: linear-gradient(145deg, #1e3a5f 0%, #2d5a8e 50%, #3a7bc8 100%);
}

.bm-blog-card__gradient--gold {
    background: linear-gradient(145deg, #b8860b 0%, #d4a017 50%, #f0c040 100%);
}

.bm-blog-card__gradient--teal {
    background: linear-gradient(145deg, #0d4f4f 0%, #1a7a7a 50%, #2db5b5 100%);
}

.bm-blog-card__emoji {
    font-size: 48px;
    opacity: 0.9;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
    line-height: 1;
    transition: transform 0.3s ease;
}

.bm-blog-card:hover .bm-blog-card__emoji {
    transform: scale(1.1);
}

.bm-blog-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Card body / text area */
.bm-blog-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bm-blog-card__category {
    display: inline-block;
    background: #eef3f9;
    color: #2d5a8e;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.bm-blog-card__title {
    margin: 0 0 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
    line-height: 1.35 !important;
}

.bm-blog-card__desc {
    margin: 0 0 14px !important;
    font-size: 13px !important;
    color: #777 !important;
    line-height: 1.5 !important;
    flex: 1;
}

.bm-blog-card__cta {
    font-size: 13px;
    color: #2d5a8e;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bm-blog-card:hover .bm-blog-card__cta {
    color: #1e3a5f;
}


/* ============================================ */
/* CONTEST BANNER                               */
/* ============================================ */

.bm-contest-banner {
    background: linear-gradient(135deg, #f8f4e8 0%, #fdf6e3 100%);
    border-radius: 10px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e8dfc0;
    margin-bottom: 20px;
    gap: 16px;
}

.bm-contest-banner__left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.bm-contest-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e6a817, #f0c040);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 3px 10px rgba(230, 168, 23, 0.25);
    flex-shrink: 0;
    line-height: 1;
}

.bm-contest-banner__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bm-contest-banner__info strong {
    color: #1e3a5f;
    font-size: 16px;
    font-weight: 700;
}

.bm-contest-banner__info span {
    color: #777;
    font-size: 13px;
    margin-top: 3px;
    line-height: 1.4;
}


/* ============================================ */
/* PRO SHOP BANNER                              */
/* ============================================ */

.bm-proshop-banner {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    gap: 16px;
}

.bm-proshop-banner__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.bm-proshop-banner__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.bm-proshop-banner__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bm-proshop-banner__info strong {
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 700;
}

.bm-proshop-banner__info span {
    color: #888;
    font-size: 13px;
    margin-top: 1px;
}


/* ============================================ */
/* SHARED BUTTONS                               */
/* ============================================ */

.bm-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.4;
    text-align: center;
    flex-shrink: 0;
}

.bm-btn--primary {
    background: #1e3a5f;
    color: #fff !important;
    border: 1px solid #1e3a5f;
}

.bm-btn--primary:hover {
    background: #2d5a8e;
    border-color: #2d5a8e;
    color: #fff !important;
}

.bm-btn--outline {
    background: transparent;
    color: #2d5a8e !important;
    border: 1px solid #2d5a8e;
}

.bm-btn--outline:hover {
    background: #2d5a8e;
    color: #fff !important;
}


/* ============================================ */
/* RESPONSIVE — TABLET (max-width: 849px)       */
/* ============================================ */

@media screen and (max-width: 849px) {

    .bm-welcome-banner {
        padding: 24px 20px;
    }

    .bm-welcome-banner__title {
        font-size: 20px !important;
    }

    .bm-welcome-banner__bg-icon {
        font-size: 80px;
        right: 10px;
    }

    .bm-perks-row {
        flex-direction: column;
        gap: 8px;
    }

    .bm-perk-badge {
        width: 100%;
    }

    .bm-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-rewards-teaser,
    .bm-contest-banner,
    .bm-proshop-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .bm-rewards-teaser .bm-btn,
    .bm-contest-banner .bm-btn,
    .bm-proshop-banner .bm-btn {
        width: 100%;
        text-align: center;
    }

    .bm-section__header {
        flex-direction: column;
        gap: 4px;
    }
}


/* ============================================ */
/* RESPONSIVE — PHONE (max-width: 549px)        */
/* ============================================ */

@media screen and (max-width: 549px) {

    .bm-welcome-banner {
        padding: 20px 16px;
        border-radius: 8px;
    }

    .bm-welcome-banner__title {
        font-size: 18px !important;
    }

    .bm-welcome-banner__subtitle {
        font-size: 13px !important;
        margin-bottom: 14px !important;
    }

    .bm-welcome-banner__bg-icon {
        display: none;
    }

    .bm-perk-badge {
        padding: 8px 12px;
    }

    .bm-perk-badge__text strong {
        font-size: 12px;
    }

    .bm-perk-badge__text span {
        font-size: 10px;
    }

    .bm-quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .bm-quick-action {
        padding: 14px 12px;
    }

    .bm-quick-action__icon {
        font-size: 22px;
    }

    .bm-quick-action strong {
        font-size: 13px;
    }

    .bm-section__title {
        font-size: 16px !important;
    }

    .bm-section__subtitle {
        font-size: 12px !important;
    }

    /* Blog cards stack to single column on phone */
    .bm-blog-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bm-blog-card__gradient {
        height: 100px;
    }

    .bm-blog-card__emoji {
        font-size: 38px;
    }

    .bm-blog-card__body {
        padding: 14px 16px 16px;
    }

    .bm-blog-card__title {
        font-size: 14px !important;
    }

    .bm-blog-card__desc {
        font-size: 12px !important;
    }

    .bm-contest-banner {
        padding: 20px 16px;
    }

    .bm-contest-banner__icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .bm-contest-banner__info strong {
        font-size: 14px;
    }

    .bm-contest-banner__info span {
        font-size: 12px;
    }

    .bm-rewards-teaser {
        padding: 16px;
    }

    .bm-rewards-teaser__icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .bm-rewards-teaser__info strong {
        font-size: 14px;
    }

    .bm-rewards-teaser__info span {
        font-size: 12px;
    }

    .bm-proshop-banner {
        padding: 16px;
    }

    .bm-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}


/* ============================================ */
/* ORDERS PAGE — CARD LAYOUT                    */
/* ============================================ */

.bm-orders {
    max-width: 100%;
}

/* Header — Count + Filters */
.bm-orders__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.bm-orders__count {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
}

.bm-orders__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bm-orders__filter {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    transition: all 0.15s ease;
    font-family: inherit;
}

.bm-orders__filter:hover {
    border-color: #2d5a8e;
    color: #2d5a8e;
}

.bm-orders__filter--active {
    background: #1e3a5f !important;
    color: #fff !important;
    border-color: #1e3a5f !important;
}

/* Order Card */
.bm-order-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.bm-order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.bm-order-card__header {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
    flex-wrap: wrap;
    gap: 12px;
}

.bm-order-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bm-order-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bm-order-card__label {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.bm-order-card__value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

.bm-order-card__value--bold {
    font-weight: 700;
    color: #1e3a5f;
}

.bm-order-card__value a {
    color: #1e3a5f !important;
    text-decoration: none !important;
}

.bm-order-card__value a:hover {
    color: #2d5a8e !important;
    text-decoration: underline !important;
}

.bm-order-card__divider {
    width: 1px;
    height: 30px;
    background: #e0e0e0;
    flex-shrink: 0;
}

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

/* Status Badges */
.bm-order-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.bm-order-status--completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.bm-order-status--processing {
    background: #e3f2fd;
    color: #1565c0;
}

.bm-order-status--shipped,
.bm-order-status--in-transit {
    background: #fff3e0;
    color: #e65100;
}

.bm-order-status--on-hold,
.bm-order-status--pending {
    background: #fff8e1;
    color: #f9a825;
}

.bm-order-status--cancelled,
.bm-order-status--refunded,
.bm-order-status--failed {
    background: #fce4ec;
    color: #c62828;
}

/* Small button variant */
.bm-btn--sm {
    padding: 8px 18px !important;
    font-size: 13px !important;
}

/* Card Body — Items */
.bm-order-card__body {
    padding: 16px 20px;
}

.bm-order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}

.bm-order-item--border {
    border-bottom: 1px solid #f5f5f5;
}

.bm-order-item__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f6f8;
}

.bm-order-item__thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.bm-order-item__thumb a {
    display: block;
    line-height: 0;
}

.bm-order-item__info {
    flex: 1;
    min-width: 0;
}

.bm-order-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.3;
}

.bm-order-item__name a {
    color: #1e3a5f !important;
    text-decoration: none !important;
}

.bm-order-item__name a:hover {
    color: #2d5a8e !important;
    text-decoration: underline !important;
}

.bm-order-item__qty {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.bm-order-item__price {
    font-size: 14px;
    font-weight: 700;
    color: #2d5a8e;
    flex-shrink: 0;
    white-space: nowrap;
}

/* "View all X items" link */
.bm-order-card__more {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
    margin-top: 4px;
}

.bm-order-card__more a {
    font-size: 13px;
    color: #2d5a8e !important;
    font-weight: 600;
    text-decoration: none !important;
}

.bm-order-card__more a:hover {
    color: #1e3a5f !important;
    text-decoration: underline !important;
}

/* Pagination */
.bm-orders__pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    gap: 8px;
}

/* Hide default WooCommerce orders table if it leaks through */
/* Exclude Back in Stock Notifications plugin tables */
.woocommerce-MyAccount-content .woocommerce-orders-table:not(.wc-bis-active-notifications-table):not(.wc-bis-pending-notifications-table):not(.wc-bis-notifications-activity-table) {
    display: none !important;
}


/* ============================================ */
/* ORDERS PAGE — RESPONSIVE TABLET              */
/* ============================================ */

@media screen and (max-width: 849px) {
    .bm-order-card__header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .bm-order-card__meta {
        gap: 12px;
    }

    .bm-order-card__divider {
        display: none;
    }

    .bm-order-card__divider--hide-mobile {
        display: none;
    }

    .bm-order-card__actions {
        width: 100%;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid #f0f0f0;
    }

    .bm-order-card__body {
        padding: 12px 16px;
    }
}


/* ============================================ */
/* ORDERS PAGE — RESPONSIVE PHONE               */
/* ============================================ */

@media screen and (max-width: 549px) {
    .bm-orders__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bm-orders__filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .bm-orders__filter {
        flex-shrink: 0;
        padding: 5px 12px;
        font-size: 12px;
    }

    .bm-order-card__meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .bm-order-card__divider {
        display: none;
    }

    .bm-order-item {
        gap: 10px;
    }

    .bm-order-item__thumb {
        width: 48px;
        height: 48px;
    }

    .bm-order-item__thumb img {
        width: 48px;
        height: 48px;
    }

    .bm-order-item__name {
        font-size: 13px;
    }

    .bm-order-item__price {
        font-size: 13px;
    }
}


/* ============================================ */
/* VIEW ORDER DETAIL PAGE                       */
/* ============================================ */

.bm-view-order {
    max-width: 100%;
}

/* Back Link */
.bm-view-order__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2d5a8e !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.bm-view-order__back:hover {
    color: #1e3a5f !important;
    text-decoration: underline !important;
}

/* Status Banner */
.bm-view-order__banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 60%, #3a7bc8 100%);
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.bm-view-order__banner-bg {
    position: absolute;
    right: 30px;
    top: -10px;
    font-size: 100px;
    opacity: 0.06;
    transform: rotate(-15deg);
    pointer-events: none;
    line-height: 1;
}

.bm-view-order__banner-content {
    position: relative;
    z-index: 1;
}

.bm-view-order__banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.bm-view-order__banner-info {
    display: flex;
    flex-direction: column;
}

.bm-view-order__banner-ordnum {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bm-view-order__banner-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Anton', sans-serif;
    letter-spacing: 0.3px;
}

.bm-view-order__banner-meta {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin-top: 4px;
}

.bm-view-order__banner-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Status badge on banner */
.bm-view-order__status {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bm-view-order__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* Status dot colors */
.bm-view-order__status--completed .bm-view-order__status-dot {
    background: #6fcf6f;
}

.bm-view-order__status--processing .bm-view-order__status-dot {
    background: #64b5f6;
}

.bm-view-order__status--shipped .bm-view-order__status-dot,
.bm-view-order__status--in-transit .bm-view-order__status-dot {
    background: #ffb74d;
}

.bm-view-order__status--on-hold .bm-view-order__status-dot,
.bm-view-order__status--pending .bm-view-order__status-dot {
    background: #fff176;
}

.bm-view-order__status--cancelled .bm-view-order__status-dot,
.bm-view-order__status--refunded .bm-view-order__status-dot,
.bm-view-order__status--failed .bm-view-order__status-dot {
    background: #ef9a9a;
}

/* Order Notes Card */
.bm-view-order__notes {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bm-view-order__notes-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bm-view-order__notes-icon {
    font-size: 18px;
    line-height: 1;
}

.bm-view-order__notes-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
}

.bm-view-order__notes-body {
    padding: 16px 20px;
}

.bm-view-order__note {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.bm-view-order__note:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bm-view-order__note-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 500;
}

.bm-view-order__note-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.bm-view-order__note-text p {
    margin: 0;
}

/* Hide default WooCommerce order status paragraph */
.bm-view-order .woocommerce-order-details > p:first-child,
.bm-view-order .order-info {
    display: none !important;
}


/* ============================================ */
/* ORDER DETAIL - SHARED CARD COMPONENT         */
/* ============================================ */

.bm-detail-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bm-detail-card__header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bm-detail-card__header-icon {
    font-size: 16px;
    line-height: 1;
}

.bm-detail-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    flex: 1;
}

.bm-detail-card__title--sm {
    font-size: 14px;
}

.bm-detail-card__count {
    font-size: 13px;
    color: #999;
}

.bm-detail-card__body {
    padding: 4px 20px;
}

.bm-detail-card__footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Hide default WooCommerce order details title and table styling */
.bm-order-detail .woocommerce-order-details__title {
    display: none !important;
}

.bm-order-detail .woocommerce-table--order-details {
    display: none !important;
}

/* Reuse existing order item styles from orders list page */
.bm-detail-card .bm-order-item__thumb {
    width: 60px;
    height: 60px;
}

.bm-detail-card .bm-order-item__thumb img {
    width: 60px;
    height: 60px;
}

/* Item meta (variations etc.) */
.bm-order-item .wc-item-meta {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.bm-order-item .wc-item-meta li {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.bm-order-item .wc-item-meta li strong {
    font-weight: 600;
    color: #666;
}

/* Purchase note */
.bm-order-item__purchase-note {
    background: #f9f9f9;
    border-left: 3px solid #2d5a8e;
    padding: 10px 16px;
    margin: 0 0 8px 74px;
    font-size: 13px;
    color: #555;
    border-radius: 0 6px 6px 0;
}

.bm-order-item__purchase-note p {
    margin: 0;
}


/* ============================================ */
/* ORDER SUMMARY ROWS                           */
/* ============================================ */

.bm-detail-card__body--summary {
    padding: 16px 20px;
}

.bm-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.bm-summary-row:last-child {
    border-bottom: none;
}

.bm-summary-row--total {
    border-bottom: none;
    padding-top: 14px;
    border-top: 2px solid #e0e0e0;
    margin-top: 4px;
}

.bm-summary-row__label {
    font-size: 14px;
    color: #666;
}

.bm-summary-row__label--total {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
}

.bm-summary-row__value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.bm-summary-row__value--total {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
}

.bm-summary-row__value--shipping {
    font-weight: 700;
    color: #2e7d32;
}


/* ============================================ */
/* ADDRESS CARDS - SIDE BY SIDE                 */
/* ============================================ */

.bm-addresses {
    margin-bottom: 20px;
}

/* Hide default WooCommerce address headings */
.bm-addresses .woocommerce-column__title {
    display: none !important;
}

.bm-addresses__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bm-addresses__grid--single {
    grid-template-columns: 1fr;
    max-width: 50%;
}

.bm-detail-card__body--address {
    padding: 16px 20px;
}

.bm-detail-card__body--address address {
    font-style: normal;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.bm-detail-card__body--address address br + br {
    display: none;
}

/* Bold the name (first line) */
.bm-detail-card__body--address address > strong,
.bm-detail-card__body--address address > p:first-child {
    color: #333;
    font-weight: 600;
}

.bm-address__phone {
    font-size: 13px !important;
    color: #888 !important;
    margin: 8px 0 0 !important;
}

.bm-address__email {
    font-size: 13px !important;
    color: #2d5a8e !important;
    margin: 4px 0 0 !important;
}


/* ============================================ */
/* TRACKING INFO - PROMINENT STYLED SECTION     */
/* Plugin (ShipStation) hooks into              */
/* woocommerce_order_details_after_order_table  */
/* ============================================ */

/* Tracking section heading - make it look like a branded card header */
.bm-view-order h2:not(.bm-detail-card__title) {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 0 !important;
    padding: 16px 20px !important;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%) !important;
    border-bottom: none !important;
    border-radius: 10px 10px 0 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Wrap the tracking table in card styling */
.bm-view-order .shop_table.tracking-table,
.bm-view-order .wc-shipment-tracking-summary,
.bm-order-detail + .woocommerce-shipment-tracking,
.bm-order-detail ~ .order-tracking,
.bm-view-order .shipment-tracking {
    background: #fff;
    border-radius: 0 0 10px 10px;
    border: 2px solid #2d5a8e;
    border-top: none;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.12);
}

/* If table has its own border-radius when no heading precedes it */
.bm-view-order .shop_table.tracking-table:first-child {
    border-radius: 10px;
    border-top: 2px solid #2d5a8e;
}

/* Table header row */
.bm-view-order .tracking-table thead th {
    background: #f0f4f8 !important;
    border-bottom: 1px solid #d0dce8 !important;
    font-size: 11px;
    color: #1e3a5f !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
}

/* Table data cells */
.bm-view-order .tracking-table th,
.bm-view-order .tracking-table td {
    padding: 14px 20px;
    font-size: 14px;
}

.bm-view-order .tracking-table tbody td {
    border-bottom: 1px solid #eef2f6;
}

.bm-view-order .tracking-table tbody tr:last-child td {
    border-bottom: none;
}

/* Tracking number - make it stand out */
.bm-view-order .tracking-table td:nth-child(2) {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1e3a5f;
    letter-spacing: 0.3px;
}

/* Style tracking "Track" button - bigger and more prominent */
.bm-view-order .tracking-table .button,
.bm-view-order .tracking-table .track-button,
.bm-view-order .order-tracking .button,
.bm-view-order a.ast-track-order-btn {
    background: #1e3a5f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(30, 58, 95, 0.2);
}

.bm-view-order .tracking-table .button:hover,
.bm-view-order .tracking-table .track-button:hover,
.bm-view-order .order-tracking .button:hover,
.bm-view-order a.ast-track-order-btn:hover {
    background: #2d5a8e !important;
    box-shadow: 0 4px 8px rgba(30, 58, 95, 0.25);
    transform: translateY(-1px);
}

/* Hide default WooCommerce order table if it still shows through */
.bm-view-order .woocommerce-table--order-details {
    display: none !important;
}

/* Hide the original default p text */
.bm-view-order > p:first-child,
.bm-view-order > .woocommerce-order-details > p:first-of-type {
    display: none !important;
}


/* ============================================ */
/* MULTI-SHIPMENT NOTICE                        */
/* Only shows when 2+ tracking entries exist     */
/* ============================================ */

.bm-multi-ship-notice {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-left: 4px solid #1565c0;
    border-radius: 8px;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.bm-multi-ship-notice__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.bm-multi-ship-notice__content {
    flex: 1;
    min-width: 0;
}

.bm-multi-ship-notice__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 4px;
}

.bm-multi-ship-notice__text {
    font-size: 14px;
    color: #37474f;
    line-height: 1.5;
    margin: 0 !important;
}

/* Multi-ship responsive */
@media screen and (max-width: 549px) {
    .bm-multi-ship-notice {
        padding: 14px 16px;
    }

    .bm-multi-ship-notice__icon {
        font-size: 22px;
    }

    .bm-multi-ship-notice__title {
        font-size: 14px;
    }

    .bm-multi-ship-notice__text {
        font-size: 13px;
    }
}


/* ============================================ */
/* NEED HELP CTA                                */
/* ============================================ */

.bm-help-cta {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bm-help-cta__icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}

.bm-help-cta__content {
    flex: 1;
    min-width: 0;
}

.bm-help-cta__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 4px;
}

.bm-help-cta__text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 !important;
}

.bm-help-cta .bm-btn {
    flex-shrink: 0;
}


/* ============================================ */
/* VIEW ORDER - RESPONSIVE TABLET               */
/* ============================================ */

@media screen and (max-width: 849px) {
    .bm-view-order__banner {
        padding: 20px;
    }

    .bm-view-order__banner-title {
        font-size: 18px;
    }

    .bm-view-order__banner-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bm-view-order__banner-status {
        align-items: flex-start;
    }

    .bm-addresses__grid {
        grid-template-columns: 1fr;
    }

    .bm-addresses__grid--single {
        max-width: 100%;
    }

    .bm-help-cta {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .bm-help-cta .bm-btn {
        width: 100%;
        text-align: center;
    }

    .bm-detail-card__body {
        padding: 4px 16px;
    }

    .bm-detail-card__body--summary {
        padding: 16px;
    }

    .bm-detail-card__body--address {
        padding: 16px;
    }
}


/* ============================================ */
/* VIEW ORDER - RESPONSIVE PHONE                */
/* ============================================ */

@media screen and (max-width: 549px) {
    .bm-view-order__banner {
        padding: 16px;
        border-radius: 8px;
    }

    .bm-view-order__banner-bg {
        display: none;
    }

    .bm-view-order__banner-title {
        font-size: 16px;
    }

    .bm-view-order__banner-meta {
        font-size: 13px;
    }

    .bm-detail-card__header {
        padding: 14px 16px;
    }

    .bm-detail-card__body {
        padding: 4px 12px;
    }

    .bm-detail-card__body--summary {
        padding: 12px 16px;
    }

    .bm-detail-card__body--address {
        padding: 12px 16px;
    }

    .bm-detail-card .bm-order-item__thumb {
        width: 48px;
        height: 48px;
    }

    .bm-detail-card .bm-order-item__thumb img {
        width: 48px;
        height: 48px;
    }

    .bm-order-item__purchase-note {
        margin-left: 0;
    }

    .bm-summary-row__value--total {
        font-size: 16px;
    }

    .bm-summary-row__label--total {
        font-size: 15px;
    }

    /* Fix tracking & plugin content touching screen edges on mobile */
    .bm-view-order .tracking-table,
    .bm-view-order .shop_table.tracking-table,
    .bm-view-order .wc-shipment-tracking-summary,
    .bm-view-order .shipment-tracking {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: 0;
        margin-right: 0;
    }

    .bm-view-order .tracking-table th,
    .bm-view-order .tracking-table td {
        padding: 10px 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    .bm-view-order h2:not(.bm-detail-card__title) {
        margin-left: 0;
        margin-right: 0;
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    .bm-view-order .tracking-table .button,
    .bm-view-order .tracking-table .track-button,
    .bm-view-order a.ast-track-order-btn {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    /* Ensure all content inside view-order has padding from edges */
    .bm-view-order {
        padding-left: 4px;
        padding-right: 4px;
    }

    .bm-help-cta {
        padding: 20px 16px;
    }

    .bm-help-cta__icon {
        font-size: 28px;
    }

    .bm-help-cta__title {
        font-size: 15px;
    }

    .bm-help-cta__text {
        font-size: 13px;
    }
}


/* ============================================ */
/* ADDRESSES PAGE                               */
/* ============================================ */

.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address header,
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h2,
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address header a,
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2d5a8e !important;
    text-decoration: none !important;
    padding: 6px 14px;
    border: 1px solid #2d5a8e;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address header a:hover,
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title a:hover {
    background: #2d5a8e !important;
    color: #fff !important;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address address {
    padding: 16px 20px;
    font-style: normal;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Addresses responsive */
@media screen and (max-width: 849px) {
    .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}


/* ============================================ */
/* PAYMENT METHODS PAGE                         */
/* ============================================ */

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods thead th {
    background: #fafbfc;
    padding: 14px 20px;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .payment-method-method {
    font-weight: 600;
    color: #1e3a5f;
}

/* Delete button styling */
.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .button.delete {
    background: #fff !important;
    color: #c62828 !important;
    border: 1px solid #c62828 !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .button.delete:hover {
    background: #c62828 !important;
    color: #fff !important;
}

/* Set as default button */
.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .button:not(.delete) {
    background: #fff !important;
    color: #2d5a8e !important;
    border: 1px solid #2d5a8e !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .button:not(.delete):hover {
    background: #2d5a8e !important;
    color: #fff !important;
}

/* Add Payment Method button */
.woocommerce-MyAccount-content a.add-payment-method,
.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods + a {
    display: inline-block;
    margin-top: 16px;
    background: #1e3a5f !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.woocommerce-MyAccount-content a.add-payment-method:hover,
.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods + a:hover {
    background: #2d5a8e !important;
}

/* Payment methods responsive */
@media screen and (max-width: 549px) {
    .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods thead {
        display: none;
    }

    .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tbody tr {
        display: flex;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tbody td {
        padding: 4px 0;
        border: none;
    }

    .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tbody td::before {
        content: attr(data-title);
        display: block;
        font-size: 11px;
        color: #999;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tbody td.payment-method-actions {
        padding-top: 10px;
    }
}


/* ============================================ */
/* ACCOUNT DETAILS PAGE                         */
/* ============================================ */

.woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .edit-account {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Section title - "Account Details" intro */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm > fieldset,
.woocommerce-MyAccount-content .edit-account > fieldset {
    border: none;
    padding: 0;
    margin: 0 0 24px;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm > fieldset legend,
.woocommerce-MyAccount-content .edit-account > fieldset legend {
    font-size: 17px;
    font-weight: 700;
    color: #1e3a5f;
    padding: 0 0 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
    font-family: 'Anton', sans-serif;
    letter-spacing: 0.3px;
}

/* Form rows */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row,
.woocommerce-MyAccount-content .edit-account .form-row {
    margin-bottom: 18px;
}

/* Labels */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm label,
.woocommerce-MyAccount-content .edit-account label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm label .required,
.woocommerce-MyAccount-content .edit-account label .required {
    color: #c62828;
}

/* Inputs */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="text"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="email"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="password"],
.woocommerce-MyAccount-content .edit-account input[type="text"],
.woocommerce-MyAccount-content .edit-account input[type="email"],
.woocommerce-MyAccount-content .edit-account input[type="password"],
.woocommerce-MyAccount-content .edit-account select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm input:focus,
.woocommerce-MyAccount-content .edit-account input:focus,
.woocommerce-MyAccount-content .edit-account select:focus {
    border-color: #2d5a8e;
    box-shadow: 0 0 0 3px rgba(45, 90, 142, 0.1);
    outline: none;
}

/* Helper text / descriptions */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm em,
.woocommerce-MyAccount-content .edit-account em {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

/* Password Change section */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset,
.woocommerce-MyAccount-content .edit-account fieldset {
    border: none;
    border-top: 2px solid #f0f0f0;
    padding: 24px 0 0;
    margin: 28px 0 0;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset legend,
.woocommerce-MyAccount-content .edit-account fieldset legend {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    padding: 0 12px 0 0;
    font-family: 'Anton', sans-serif;
    letter-spacing: 0.3px;
}

/* Save Changes button */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-MyAccount-content .edit-account .woocommerce-Button,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"],
.woocommerce-MyAccount-content .edit-account button[type="submit"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="submit"],
.woocommerce-MyAccount-content .edit-account input[type="submit"] {
    background: #1e3a5f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
    text-transform: none !important;
    letter-spacing: 0;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-MyAccount-content .edit-account .woocommerce-Button:hover,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-MyAccount-content .edit-account button[type="submit"]:hover,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="submit"]:hover,
.woocommerce-MyAccount-content .edit-account input[type="submit"]:hover {
    background: #2d5a8e !important;
}

/* Currency select dropdown */
.woocommerce-MyAccount-content .edit-account select {
    appearance: auto;
    padding: 12px 16px;
    max-width: 300px;
}

/* Account details responsive */
@media screen and (max-width: 549px) {
    .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
    .woocommerce-MyAccount-content .edit-account {
        padding: 20px 16px;
    }

    /* Stack first/last name on mobile */
    .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row--first,
    .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row--last,
    .woocommerce-MyAccount-content .edit-account .form-row-first,
    .woocommerce-MyAccount-content .edit-account .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}


/* ============================================ */
/* EDIT ADDRESS FORM (single address edit)      */
/* ============================================ */

.woocommerce-MyAccount-content .woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields input[type="text"],
.woocommerce-MyAccount-content .woocommerce-address-fields input[type="email"],
.woocommerce-MyAccount-content .woocommerce-address-fields input[type="tel"],
.woocommerce-MyAccount-content .woocommerce-address-fields select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-address-fields input:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields select:focus {
    border-color: #2d5a8e;
    box-shadow: 0 0 0 3px rgba(45, 90, 142, 0.1);
    outline: none;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
    margin-bottom: 16px;
}

/* Save Address button */
.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"] {
    background: #1e3a5f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s ease;
    text-transform: none !important;
}

.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"]:hover {
    background: #2d5a8e !important;
}

@media screen and (max-width: 549px) {
    .woocommerce-MyAccount-content .woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
        padding: 20px 16px;
    }
}


/* ============================================ */
/* PRE-ORDERS PAGE                              */
/* Styles the WooCommerce Pre-Orders plugin     */
/* table on the My Account > Pre-Orders tab.    */
/* Uses broad selectors to catch plugin output. */
/* ============================================ */

/* Card wrapper for pre-orders table */
.woocommerce-MyAccount-content .shop_table.my_account_pre_orders,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table,
.woocommerce-MyAccount-content table.shop_table_pre_orders,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders table {
    background: #fff;
    border-radius: 10px !important;
    border: 1px solid #e0e0e0 !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    margin-bottom: 24px;
}

/* Table header */
.woocommerce-MyAccount-content .my_account_pre_orders thead th,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table thead th,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders th {
    background: #fafbfc !important;
    border-bottom: 2px solid #e8ecf0 !important;
    font-size: 11px !important;
    color: #1e3a5f !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 20px !important;
}

/* Table body cells */
.woocommerce-MyAccount-content .my_account_pre_orders tbody td,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody td,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders td {
    padding: 16px 20px !important;
    font-size: 14px !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
}

.woocommerce-MyAccount-content .my_account_pre_orders tbody tr:last-child td,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody tr:last-child td,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody tr:last-child td {
    border-bottom: none !important;
}

/* Zebra striping */
.woocommerce-MyAccount-content .my_account_pre_orders tbody tr:nth-child(even),
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody tr:nth-child(even),
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* Hover effect */
.woocommerce-MyAccount-content .my_account_pre_orders tbody tr:hover,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody tr:hover,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody tr:hover {
    background: #f5f8fa;
}

/* Order number & product name links */
.woocommerce-MyAccount-content .my_account_pre_orders td a,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders td a,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders td a {
    color: #1e3a5f !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-MyAccount-content .my_account_pre_orders td a:hover,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders td a:hover,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders td a:hover {
    color: #2d5a8e !important;
    text-decoration: underline !important;
}

/* Action buttons base */
.woocommerce-MyAccount-content .my_account_pre_orders .button,
.woocommerce-MyAccount-content .my_account_pre_orders a.button,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .button,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders .button {
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: none !important;
    line-height: 1.4 !important;
}

/* Cancel button — red/dark outline */
.woocommerce-MyAccount-content .my_account_pre_orders .button.cancel,
.woocommerce-MyAccount-content .my_account_pre_orders a.button.cancel,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .button.cancel,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders .button.cancel {
    background: #1e3a5f !important;
    color: #fff !important;
    border: 2px solid #1e3a5f !important;
}

.woocommerce-MyAccount-content .my_account_pre_orders .button.cancel:hover,
.woocommerce-MyAccount-content .my_account_pre_orders a.button.cancel:hover,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .button.cancel:hover,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders .button.cancel:hover {
    background: #2d5a8e !important;
    border-color: #2d5a8e !important;
}

/* Other action buttons — navy */
.woocommerce-MyAccount-content .my_account_pre_orders .button:not(.cancel),
.woocommerce-MyAccount-content .my_account_pre_orders a.button:not(.cancel),
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .button:not(.cancel),
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders .button:not(.cancel) {
    background: #1e3a5f !important;
    color: #fff !important;
    border: 2px solid #1e3a5f !important;
}

.woocommerce-MyAccount-content .my_account_pre_orders .button:not(.cancel):hover,
.woocommerce-MyAccount-content .my_account_pre_orders a.button:not(.cancel):hover,
.woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .button:not(.cancel):hover,
.woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders .button:not(.cancel):hover {
    background: #2d5a8e !important;
    border-color: #2d5a8e !important;
}

/* ---- Pre-Orders Mobile Responsive ---- */

@media screen and (max-width: 849px) {
    .woocommerce-MyAccount-content .my_account_pre_orders thead,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table thead,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders thead {
        display: none !important;
    }

    .woocommerce-MyAccount-content .my_account_pre_orders,
    .woocommerce-MyAccount-content .my_account_pre_orders tbody,
    .woocommerce-MyAccount-content .my_account_pre_orders tr,
    .woocommerce-MyAccount-content .my_account_pre_orders td,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tr,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table td,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders table,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tr,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders td {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-MyAccount-content .my_account_pre_orders tbody tr,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody tr,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody tr {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 4px 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }

    .woocommerce-MyAccount-content .my_account_pre_orders tbody td,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody td,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody td {
        padding: 10px 16px !important;
        border-bottom: 1px solid #f5f5f5 !important;
        text-align: left !important;
    }

    .woocommerce-MyAccount-content .my_account_pre_orders tbody td:last-child,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody td:last-child,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody td:last-child {
        border-bottom: none !important;
        padding-top: 12px !important;
        padding-bottom: 14px !important;
    }

    /* Show data-title labels on mobile */
    .woocommerce-MyAccount-content .my_account_pre_orders tbody td::before,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .shop_table tbody td::before,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders tbody td::before {
        content: attr(data-title);
        font-weight: 700;
        color: #1e3a5f;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        display: block;
        margin-bottom: 4px;
    }

    /* Full-width buttons on mobile */
    .woocommerce-MyAccount-content .my_account_pre_orders .button,
    .woocommerce-MyAccount-content .my_account_pre_orders a.button,
    .woocommerce-MyAccount-content .woocommerce-MyAccount-pre-orders .button,
    .woocommerce-MyAccount-content .wc-pre-orders-my-pre-orders .button {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }
}

/* ============================================ */
/* BACK IN STOCK NOTIFICATIONS PAGE             */
/* Styles the WooCommerce Back In Stock         */
/* Notifications plugin tables on the           */
/* My Account > Stock Notifications tab.        */
/* Matches Pre-Orders & Orders card design.     */
/* v1.4.1                                       */
/* ============================================ */

/* ---- Section Headings ---- */
/* "Pending", "Active", "Your Activity" h2s */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table {
    background: #fff;
    border-radius: 0 0 10px 10px !important;
    border: 1px solid #e0e0e0 !important;
    border-top: none !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    margin-bottom: 24px;
}

/* H2 headings above each table — navy gradient card headers */
.woocommerce-MyAccount-content > h2:has(+ .touch-scroll-table .wc-bis-active-notifications-table),
.woocommerce-MyAccount-content > h2:has(+ .touch-scroll-table .wc-bis-pending-notifications-table),
.woocommerce-MyAccount-content > h2:has(+ .touch-scroll-table .wc-bis-notifications-activity-table),
.woocommerce-MyAccount-content > h2:has(+ .wc-bis-active-notifications-table),
.woocommerce-MyAccount-content > h2:has(+ .wc-bis-pending-notifications-table),
.woocommerce-MyAccount-content > h2:has(+ .wc-bis-notifications-activity-table) {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 16px 20px !important;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%) !important;
    border-radius: 10px 10px 0 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Fallback for browsers without :has() — style all h2s on this page */
/* These use more specific selectors to only target BIS page context */
.woocommerce-MyAccount-content > .wc-bis-active-notifications-table ~ h2,
.woocommerce-MyAccount-content h2 + .touch-scroll-table .wc-bis-active-notifications-table,
.woocommerce-MyAccount-content h2 + .touch-scroll-table .wc-bis-pending-notifications-table,
.woocommerce-MyAccount-content h2 + .touch-scroll-table .wc-bis-notifications-activity-table {
    border-radius: 0 0 10px 10px !important;
}

/* ---- Table Headers ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table thead th,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table thead th,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table thead th {
    background: #fafbfc !important;
    border-bottom: 2px solid #e8ecf0 !important;
    font-size: 11px !important;
    color: #1e3a5f !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 20px !important;
}

/* ---- Table Body Cells ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody td,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody td,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody td {
    padding: 16px 20px !important;
    font-size: 14px !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
}

.woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody tr:last-child td,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody tr:last-child td,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* ---- Zebra Striping ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody tr:nth-child(even),
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody tr:nth-child(even),
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* ---- Hover Effect ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody tr:hover,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody tr:hover,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody tr:hover {
    background: #f5f8fa;
}

/* ---- Product Name Links ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table td a,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table td a,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table td a {
    color: #1e3a5f !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-MyAccount-content .wc-bis-active-notifications-table td a:hover,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table td a:hover,
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table td a:hover {
    color: #2d5a8e !important;
    text-decoration: underline !important;
}

/* ---- Variation Description ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table .description,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table .description {
    display: block;
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
    margin-top: 4px;
}

/* ---- Stock Status Badges ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table .stock,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table .stock {
    color: #fff !important;
    background: #2e7d32;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    line-height: 1.4;
}

.woocommerce-MyAccount-content .wc-bis-active-notifications-table .outofstock,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table .outofstock {
    color: #fff !important;
    background: #c62828;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    line-height: 1.4;
}

/* ---- Action Buttons ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table .button,
.woocommerce-MyAccount-content .wc-bis-active-notifications-table a.button,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table .button,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table a.button {
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: none !important;
    line-height: 1.4 !important;
    background: #1e3a5f !important;
    color: #fff !important;
    border: 2px solid #1e3a5f !important;
}

.woocommerce-MyAccount-content .wc-bis-active-notifications-table .button:hover,
.woocommerce-MyAccount-content .wc-bis-active-notifications-table a.button:hover,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table .button:hover,
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table a.button:hover {
    background: #2d5a8e !important;
    border-color: #2d5a8e !important;
}

/* Multiple action buttons in pending — space them */
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table .woocommerce-orders-table__cell-notification-actions a + a {
    margin-left: 8px;
}

/* ---- Pagination ---- */

.woocommerce-MyAccount-content .woocommerce-Pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 28px;
}

.woocommerce-MyAccount-content .woocommerce-Pagination .button,
.woocommerce-MyAccount-content .woocommerce-Pagination a.button {
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: #1e3a5f !important;
    color: #fff !important;
    border: 2px solid #1e3a5f !important;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-Pagination .button:hover,
.woocommerce-MyAccount-content .woocommerce-Pagination a.button:hover {
    background: #2d5a8e !important;
    border-color: #2d5a8e !important;
}

/* ---- Empty State ---- */

.woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody td[colspan],
.woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody td[colspan],
.woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody td[colspan] {
    text-align: center !important;
    color: #888 !important;
    font-style: italic;
    padding: 32px 20px !important;
}


/* ============================================ */
/* BACK IN STOCK — MOBILE RESPONSIVE            */
/* Stacked card layout matching Pre-Orders      */
/* ============================================ */

@media screen and (max-width: 849px) {

    /* Hide table headers on mobile */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table thead,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table thead,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table thead {
        display: none !important;
    }

    /* Collapse tables to block layout */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table,
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody,
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table tr,
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table td,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table tr,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table td,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table tr,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table td {
        display: block !important;
        width: 100% !important;
    }

    /* Card wrappers keep rounded bottom corners */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Each row becomes a card */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody tr,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody tr,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody tr {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 4px 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }

    /* Cell padding on mobile */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody td,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody td,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody td {
        padding: 10px 16px !important;
        border-bottom: 1px solid #f5f5f5 !important;
        text-align: left !important;
    }

    /* Last cell in each card */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody td:last-child,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody td:last-child,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody td:last-child {
        border-bottom: none !important;
        padding-top: 12px !important;
        padding-bottom: 14px !important;
    }

    /* Show data-title labels on mobile */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table tbody td::before,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table tbody td::before,
    .woocommerce-MyAccount-content .wc-bis-notifications-activity-table tbody td::before {
        content: attr(data-title);
        font-weight: 700;
        color: #1e3a5f;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        display: block;
        margin-bottom: 4px;
    }

    /* Full-width buttons on mobile */
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table .button,
    .woocommerce-MyAccount-content .wc-bis-active-notifications-table a.button,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table .button,
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table a.button {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Stack multiple action buttons vertically on mobile */
    .woocommerce-MyAccount-content .wc-bis-pending-notifications-table .woocommerce-orders-table__cell-notification-actions a + a {
        margin-left: 0;
        margin-top: 8px;
    }

    /* Pagination on mobile */
    .woocommerce-MyAccount-content .woocommerce-Pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-MyAccount-content .woocommerce-Pagination .button,
    .woocommerce-MyAccount-content .woocommerce-Pagination a.button {
        text-align: center !important;
        width: 100% !important;
    }
}

/* ============================================ */
/* PRINT                                        */
/* ============================================ */

@media print {
    .bm-welcome-banner,
    .bm-contest-banner,
    .bm-proshop-banner,
    .bm-rewards-teaser,
    .bm-blog-grid,
    .bm-orders__filters {
        display: none;
    }
}
