
.rhigi-header-account-icon,.rhigi-header-cart-icon{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;font-weight:800;text-decoration:none!important;color:#111827!important}
.rhigi-header-avatar{width:30px;height:30px;border-radius:50%;background:#ff5a00;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;box-shadow:0 8px 18px rgba(255,90,0,.25)}
.rhigi-header-cart-bag{position:relative;width:34px;height:34px;border-radius:12px;background:#fff3ea;color:#ff5a00;display:inline-flex;align-items:center;justify-content:center;font-size:19px}
.rhigi-cart-count-badge{position:absolute;top:-7px;right:-8px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ff5a00;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.rhigi-account-page .woocommerce{max-width:1180px;margin:0 auto;padding:0 28px 60px}.rhigi-account-page .woocommerce-MyAccount-navigation,.rhigi-account-page .woocommerce-MyAccount-content{float:none!important;width:100%!important}.rhigi-account-page .woocommerce-MyAccount-navigation{margin:0 0 24px!important}
.rhigi-account-nav ul{list-style:none!important;display:flex;gap:10px;flex-wrap:wrap;padding:0!important;margin:0!important}.rhigi-account-nav li{list-style:none!important;margin:0!important}.rhigi-account-nav a{display:inline-flex;align-items:center;gap:9px;padding:12px 15px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;color:#111827;font-weight:800;text-decoration:none!important;box-shadow:0 6px 20px rgba(15,23,42,.05)}.rhigi-account-nav .is-active a,.rhigi-account-nav a:hover{background:#0b1220;color:#fff}.rhigi-nav-icon{font-size:16px}
.rhigi-welcome-card,.rhigi-view-order-hero{background:linear-gradient(135deg,#0b1220,#1f2937);color:#fff;border-radius:24px;padding:26px;display:flex;gap:18px;align-items:center;margin:0 0 22px;box-shadow:0 18px 45px rgba(15,23,42,.16)}.rhigi-welcome-card h2,.rhigi-view-order-hero h2{color:#fff;margin:0 0 6px;font-size:clamp(28px,4vw,42px);line-height:1.05}.rhigi-welcome-card p,.rhigi-view-order-hero p{color:#d1d5db;margin:0}.rhigi-eyebrow{color:#ffb27c!important;text-transform:uppercase;font-size:12px;letter-spacing:.08em;font-weight:900;margin:0 0 6px!important}
.rhigi-avatar-lg{width:78px;height:78px;border-radius:50%;background:#ff5a00;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;flex:0 0 auto;box-shadow:0 12px 30px rgba(255,90,0,.28)}
.rhigi-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.rhigi-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;min-height:118px;text-decoration:none!important;color:#111827!important;display:flex;flex-direction:column;justify-content:center;box-shadow:0 10px 28px rgba(15,23,42,.06)}.rhigi-stat-card span{font-size:24px;margin-bottom:8px}.rhigi-stat-card strong{font-size:24px;line-height:1}.rhigi-stat-card small{color:#6b7280;margin-top:6px;font-weight:700}
.rhigi-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 26px}.rhigi-quick-actions a,.rhigi-mini-button,.rhigi-core-button{background:#ff5a00!important;color:#fff!important;border-radius:12px!important;padding:11px 16px!important;text-decoration:none!important;font-weight:900!important;display:inline-flex!important;align-items:center;justify-content:center;border:0!important}
.rhigi-section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.rhigi-section-head h3{font-size:26px;margin:0}.rhigi-section-head a{color:#ff5a00;font-weight:900;text-decoration:none}.rhigi-order-card-list{display:grid;gap:14px}.rhigi-order-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;display:grid;grid-template-columns:1.4fr auto auto auto;gap:14px;align-items:center;box-shadow:0 10px 28px rgba(15,23,42,.06)}.rhigi-order-card strong{font-size:17px}.rhigi-order-card small{display:block;color:#6b7280;margin-top:4px}.rhigi-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 12px;background:#fff3ea;color:#c2410c;font-size:12px;font-weight:900;white-space:nowrap}.rhigi-status-completed{background:#dcfce7;color:#166534}.rhigi-status-processing,.rhigi-status-on-hold{background:#fff7ed;color:#c2410c}.rhigi-status-cancelled,.rhigi-status-failed{background:#fee2e2;color:#991b1b}.rhigi-order-total{font-weight:900;color:#111827}
.rhigi-empty-state{background:#fff;border:1px dashed #d1d5db;border-radius:20px;padding:28px}.rhigi-empty-state h3{margin-top:0}.rhigi-view-order-hero{justify-content:space-between}.rhigi-order-items{display:grid;gap:14px;margin:0 0 24px}.rhigi-order-product{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px;display:grid;grid-template-columns:84px 1fr auto;gap:14px;align-items:center;box-shadow:0 10px 28px rgba(15,23,42,.05)}.rhigi-order-product-img img{width:84px;height:84px;object-fit:cover;border-radius:14px}.rhigi-order-product-info h3{margin:0 0 6px;font-size:17px}.rhigi-order-product-info p{margin:0 0 10px;color:#6b7280}.rhigi-order-product-total{font-weight:900}.rhigi-default-order-details{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;overflow:hidden}.rhigi-default-order-details table{margin-bottom:0!important}
@media(max-width:768px){.rhigi-account-page .woocommerce{padding-left:28px;padding-right:28px}.rhigi-account-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rhigi-account-nav a{border-radius:16px;width:100%;box-sizing:border-box}.rhigi-welcome-card,.rhigi-view-order-hero{align-items:flex-start;flex-direction:column;border-radius:22px}.rhigi-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rhigi-order-card{grid-template-columns:1fr;align-items:stretch}.rhigi-mini-button{width:100%;box-sizing:border-box}.rhigi-order-product{grid-template-columns:74px 1fr}.rhigi-order-product-total{grid-column:1/-1}.rhigi-order-product-img img{width:74px;height:74px}}@media(max-width:480px){.rhigi-account-nav ul{grid-template-columns:1fr}.rhigi-stat-grid{grid-template-columns:1fr}.rhigi-avatar-lg{width:64px;height:64px;font-size:23px}}


.rhigi-order-product-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.rhigi-reorder-item-button{background:linear-gradient(135deg,#111827,#374151)!important}
.woocommerce-error{border:0!important;border-left:7px solid #ef4444!important;border-radius:18px!important;background:#fff1f2!important;color:#7f1d1d!important;box-shadow:0 14px 34px rgba(127,29,29,.12)!important;padding:18px 20px!important;font-weight:800}
@media(max-width:768px){.rhigi-order-product-actions .rhigi-mini-button{width:100%}}






/* Rhigi 7.3.0 — uniform account header controls on every endpoint */
.rhigi-header-account-icon,
.rhigi-header-cart-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    flex:0 0 auto!important;
    overflow:visible!important;
    white-space:nowrap!important;
    color:#111827!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.rhigi-header-avatar{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    border-radius:50%!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#ff5a00!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
}
.rhigi-header-cart-bag{
    position:relative!important;
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    border-radius:13px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#fff3ea!important;
    color:#ff5a00!important;
    font-size:20px!important;
}
.rhigi-cart-count-badge{
    position:absolute!important;
    top:-7px!important;
    right:-7px!important;
    min-width:19px!important;
    height:19px!important;
    padding:0 5px!important;
    border-radius:999px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    background:#ff5a00!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:900!important;
}
@media(max-width:420px){
    .rhigi-header-account-icon,
    .rhigi-header-cart-icon{
        width:40px!important;
        max-width:40px!important;
        gap:0!important;
    }
    .rhigi-header-link-label{
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        margin:-1px!important;
        padding:0!important;
        overflow:hidden!important;
        clip:rect(0,0,0,0)!important;
        white-space:nowrap!important;
        border:0!important;
    }
}


/* Rhigi 7.9.1 — customer-facing tracking stage badges */
.rhigi-status-pill.rhigi-tracking-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:8px 14px;
    border-radius:999px;
    font-weight:900;
    line-height:1.2;
    text-align:center;
    box-sizing:border-box;
}
.rhigi-tracking-placed{background:#fff7ed!important;color:#c2410c!important}
.rhigi-tracking-confirmed{background:#eff6ff!important;color:#1d4ed8!important}
.rhigi-tracking-packing{background:#f5f3ff!important;color:#6d28d9!important}
.rhigi-tracking-shipped{background:#ecfeff!important;color:#0e7490!important}
.rhigi-tracking-out_for_delivery{background:#fef9c3!important;color:#854d0e!important}
.rhigi-tracking-delivered{background:#dcfce7!important;color:#166534!important}

.rhigi-tracking-failed_delivery{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fca5a5!important}.rhigi-tracking-returned{background:#f3e8ff!important;color:#6b21a8!important;border:1px solid #d8b4fe!important}.rhigi-track-stage.is-exception .rhigi-track-stage-dot{background:#dc2626!important;color:#fff!important}.rhigi-track-stage.is-exception .rhigi-track-stage-line{background:#dc2626!important}.rhigi-track-stage.is-exception .rhigi-track-stage-label,.rhigi-track-stage.is-exception .rhigi-track-stage-state{color:#991b1b!important}


/* =========================================================
   Rhigi Commerce Core 9.1.0 — Professional Customer Orders
   ========================================================= */

.rhigi-orders-pro {
    color: #101828;
}

.rhigi-orders-pro__header {
    margin-bottom: 18px;
    padding: 22px 24px;
    border: 1px solid #e6eaf0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.055);
}

.rhigi-orders-pro__eyebrow {
    margin: 0 0 5px !important;
    color: #ff5a00 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

.rhigi-orders-pro__header h1 {
    margin: 0 !important;
    color: #101828 !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
}

.rhigi-orders-pro__header > div > p:last-child {
    margin: 7px 0 0 !important;
    color: #667085 !important;
    font-size: 14px !important;
}

.rhigi-orders-pro__shop-link {
    min-height: 44px;
    padding: 0 17px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: #ff5a00;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

.rhigi-order-filters {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 9px;
}

.rhigi-order-filters a {
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid #dce2e9;
    border-radius: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475467 !important;
    background: #fff;
    text-decoration: none !important;
    box-sizing: border-box;
}

.rhigi-order-filters a > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #475467;
    background: #f2f4f7;
    font-size: 14px;
}

.rhigi-order-filters a strong {
    min-width: 0;
    flex: 1;
    font-size: 12px !important;
    font-weight: 850 !important;
    white-space: nowrap;
}

.rhigi-order-filters a small {
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #667085;
    background: #f2f4f7;
    font-size: 10px !important;
    font-weight: 900;
}

.rhigi-order-filters a.is-active {
    border-color: #ff5a00;
    color: #ea580c !important;
    background: #fff7ed;
}

.rhigi-order-filters a.is-active > span,
.rhigi-order-filters a.is-active small {
    color: #fff;
    background: #ff5a00;
}

.rhigi-orders-pro__list {
    display: grid;
    gap: 14px;
}

.rhigi-order-pro-card {
    padding: 20px;
    border: 1px solid #e7ebf0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 9px 30px rgba(15,23,42,.055);
}

.rhigi-order-pro-card__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
}

.rhigi-order-pro-card__identity h2 {
    margin: 0 !important;
    color: #101828 !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
}

.rhigi-order-pro-card__identity p {
    margin: 6px 0 0 !important;
    color: #667085 !important;
    font-size: 12px !important;
}

.rhigi-order-pro-card__identity p span {
    margin: 0 6px;
}

.rhigi-order-pro-card__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ff5a00 !important;
    background: #fff7ed;
    text-decoration: none !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

.rhigi-order-pro-card__content {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 155px minmax(0,1fr);
    gap: 22px;
}

.rhigi-order-pro-card__image {
    height: 155px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}

.rhigi-order-pro-card__image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
}

.rhigi-order-pro-card__summary {
    min-width: 0;
}

.rhigi-order-pro-card__meta {
    min-height: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #475467;
    font-size: 13px;
}

.rhigi-order-pro-card__meta i {
    width: 1px;
    height: 18px;
    display: block;
    background: #d0d5dd;
}

.rhigi-order-pro-card__meta strong {
    color: #101828;
    font-size: 15px !important;
}

.rhigi-order-progress {
    margin: 18px 0 16px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.rhigi-order-progress__stage {
    position: relative;
    min-width: 0;
    padding-top: 27px;
    text-align: center;
}

.rhigi-order-progress__line {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #d0d5dd;
}

.rhigi-order-progress__stage:first-child .rhigi-order-progress__line {
    left: 50%;
    width: 50%;
}

.rhigi-order-progress__stage:last-child .rhigi-order-progress__line {
    width: 50%;
}

.rhigi-order-progress__dot {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    width: 23px;
    height: 23px;
    border: 3px solid #c7ccd4;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    color: #fff;
    background: #fff;
    font-size: 12px;
    font-weight: 950;
}

.rhigi-order-progress__stage.is-complete .rhigi-order-progress__line,
.rhigi-order-progress__stage.is-complete .rhigi-order-progress__dot {
    border-color: #16a34a;
    background: #16a34a;
}

.rhigi-order-progress__stage.is-active .rhigi-order-progress__dot {
    box-shadow: 0 0 0 5px rgba(34,197,94,.13);
}

.rhigi-order-progress__stage strong {
    display: block;
    color: #101828;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.rhigi-order-progress__stage small {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 10px !important;
}

.rhigi-order-pro-card__actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.rhigi-order-pro-card__details {
    min-height: 43px;
    padding: 0 17px;
    border: 1px solid #ff5a00;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 1;
    color: #ff5a00 !important;
    background: #fff;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.rhigi-order-pro-card__details span {
    margin-left: auto;
    font-size: 23px;
}

.rhigi-order-pro-card__secondary {
    min-height: 43px;
    padding: 0 14px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: #101828;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.rhigi-order-exception {
    margin: 17px 0;
    padding: 13px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #991b1b;
    background: #fff1f2;
}

.rhigi-order-exception strong {
    font-size: 13px !important;
}

.rhigi-order-exception span {
    font-size: 11px;
}

.rhigi-orders-pro__empty {
    padding: 48px 20px;
    border: 1px dashed #cfd5dd;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.rhigi-orders-pro__empty > span {
    font-size: 38px;
}

.rhigi-orders-pro__empty h2 {
    margin: 12px 0 5px !important;
    font-size: 22px !important;
}

.rhigi-orders-pro__empty p {
    margin: 0 0 16px !important;
    color: #667085;
}

.rhigi-orders-pro__empty a {
    padding: 11px 15px;
    border-radius: 10px;
    display: inline-flex;
    color: #fff !important;
    background: #ff5a00;
    text-decoration: none !important;
    font-weight: 900;
}

.rhigi-orders-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 860px) {
    .rhigi-order-filters {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .rhigi-order-pro-card__content {
        grid-template-columns: 125px minmax(0,1fr);
    }

    .rhigi-order-pro-card__image {
        height: 125px;
    }
}

@media (max-width: 640px) {
    .rhigi-account-page .woocommerce {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .rhigi-orders-pro__header {
        padding: 18px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 17px;
    }

    .rhigi-orders-pro__header h1 {
        font-size: 25px !important;
    }

    .rhigi-orders-pro__shop-link {
        width: 100%;
        box-sizing: border-box;
    }

    .rhigi-order-filters {
        display: flex;
        overflow-x: auto;
        gap: 7px;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .rhigi-order-filters::-webkit-scrollbar {
        display: none;
    }

    .rhigi-order-filters a {
        min-width: 126px;
        min-height: 50px;
        flex: 0 0 auto;
    }

    .rhigi-order-pro-card {
        padding: 14px;
        border-radius: 17px;
    }

    .rhigi-order-pro-card__top {
        grid-template-columns: auto minmax(0,1fr) auto;
        gap: 10px;
    }

    .rhigi-status-pill.rhigi-tracking-status {
        min-height: 30px;
        padding: 6px 9px;
        font-size: 9px !important;
    }

    .rhigi-order-pro-card__identity h2 {
        font-size: 16px !important;
    }

    .rhigi-order-pro-card__identity p {
        font-size: 10px !important;
    }

    .rhigi-order-pro-card__content {
        margin-top: 12px;
        grid-template-columns: 82px minmax(0,1fr);
        gap: 11px;
    }

    .rhigi-order-pro-card__image {
        height: 82px;
        border-radius: 12px;
    }

    .rhigi-order-pro-card__meta {
        min-height: 28px;
        gap: 7px;
        flex-wrap: wrap;
        font-size: 10px;
    }

    .rhigi-order-pro-card__meta i {
        height: 14px;
    }

    .rhigi-order-pro-card__meta strong {
        font-size: 12px !important;
    }

    .rhigi-order-progress {
        grid-column: 1 / -1;
        margin: 16px -82px 13px -93px;
    }

    .rhigi-order-progress__stage strong {
        font-size: 9px !important;
    }

    .rhigi-order-progress__stage small {
        font-size: 8px !important;
    }

    .rhigi-order-pro-card__actions {
        margin-left: -93px;
    }

    .rhigi-order-pro-card__details {
        min-height: 40px;
        font-size: 11px !important;
    }

    .rhigi-order-pro-card__secondary {
        min-height: 40px;
        font-size: 10px !important;
    }
}


/* =========================================================
   Rhigi Commerce Core 9.1.1 — Mobile Orders Adaptation
   Prevents progress tracker overflow and improves card balance.
   ========================================================= */

@media (max-width: 640px) {
    .rhigi-orders-pro {
        overflow: hidden !important;
    }

    .rhigi-orders-pro__header {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .rhigi-order-pro-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .rhigi-order-pro-card__top {
        grid-template-columns: auto minmax(0, 1fr) 34px !important;
        align-items: start !important;
    }

    .rhigi-order-pro-card__identity {
        min-width: 0 !important;
    }

    .rhigi-order-pro-card__identity h2,
    .rhigi-order-pro-card__identity p {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rhigi-order-pro-card__arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 23px !important;
    }

    .rhigi-order-pro-card__content {
        display: grid !important;
        grid-template-columns: 76px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .rhigi-order-pro-card__image {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
    }

    .rhigi-order-pro-card__summary {
        min-width: 0 !important;
    }

    .rhigi-order-pro-card__meta {
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px 7px !important;
    }

    .rhigi-order-pro-card__meta span {
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .rhigi-order-pro-card__meta i {
        display: none !important;
    }

    .rhigi-order-progress {
        width: calc(100% + 86px) !important;
        max-width: none !important;
        margin: 14px 0 12px -86px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        overflow: visible !important;
    }

    .rhigi-order-progress__stage {
        min-width: 0 !important;
        padding-top: 24px !important;
    }

    .rhigi-order-progress__line {
        top: 9px !important;
        height: 2px !important;
    }

    .rhigi-order-progress__dot {
        width: 20px !important;
        height: 20px !important;
        border-width: 2px !important;
        font-size: 10px !important;
    }

    .rhigi-order-progress__stage strong {
        padding: 0 2px !important;
        overflow: hidden !important;
        font-size: 8px !important;
        line-height: 1.18 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rhigi-order-progress__stage small {
        padding: 0 2px !important;
        overflow: hidden !important;
        font-size: 7px !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rhigi-order-pro-card__actions {
        width: calc(100% + 86px) !important;
        margin: 0 0 0 -86px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .rhigi-order-pro-card__details,
    .rhigi-order-pro-card__secondary {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .rhigi-order-exception {
        width: calc(100% + 86px) !important;
        margin: 14px 0 12px -86px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 420px) {
    .rhigi-account-page .woocommerce {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .rhigi-orders-pro__header {
        padding: 15px !important;
    }

    .rhigi-order-pro-card {
        padding: 11px !important;
    }

    .rhigi-status-pill.rhigi-tracking-status {
        max-width: 94px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rhigi-order-pro-card__content {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .rhigi-order-pro-card__image {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
    }

    .rhigi-order-progress {
        width: calc(100% + 76px) !important;
        margin-left: -76px !important;
    }

    .rhigi-order-pro-card__actions,
    .rhigi-order-exception {
        width: calc(100% + 76px) !important;
        margin-left: -76px !important;
    }

    .rhigi-order-progress__stage strong {
        font-size: 7.5px !important;
    }

    .rhigi-order-progress__stage small {
        font-size: 6.5px !important;
    }
}


/* =========================================================
   Rhigi Commerce Core 9.1.2 — Wider Mobile Order Cards
   Uses nearly the full mobile viewport and enlarges card content.
   ========================================================= */

@media (max-width: 640px) {
    body.rhigi-account-page .woocommerce {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        box-sizing: border-box !important;
    }

    .rhigi-orders-pro {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .rhigi-order-filters {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }

    .rhigi-orders-pro__list {
        width: 100% !important;
        gap: 12px !important;
    }

    .rhigi-order-pro-card {
        width: calc(100% - 8px) !important;
        max-width: none !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
        padding: 15px !important;
        border-radius: 18px !important;
    }

    .rhigi-order-pro-card__top {
        grid-template-columns: auto minmax(0,1fr) 36px !important;
        gap: 11px !important;
    }

    .rhigi-order-pro-card__identity h2 {
        font-size: 18px !important;
    }

    .rhigi-order-pro-card__identity p {
        font-size: 11px !important;
    }

    .rhigi-order-pro-card__content {
        grid-template-columns: 88px minmax(0,1fr) !important;
        gap: 12px !important;
    }

    .rhigi-order-pro-card__image {
        width: 88px !important;
        height: 88px !important;
        min-width: 88px !important;
    }

    .rhigi-order-pro-card__meta {
        font-size: 11px !important;
    }

    .rhigi-order-pro-card__meta strong {
        font-size: 13px !important;
    }

    .rhigi-order-progress {
        width: calc(100% + 100px) !important;
        margin-left: -100px !important;
        margin-top: 16px !important;
        margin-bottom: 14px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .rhigi-order-progress__stage strong {
        font-size: 8.5px !important;
    }

    .rhigi-order-progress__stage small {
        font-size: 7.2px !important;
    }

    .rhigi-order-pro-card__actions,
    .rhigi-order-exception {
        width: calc(100% + 100px) !important;
        margin-left: -100px !important;
    }

    .rhigi-order-pro-card__details {
        min-height: 44px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 420px) {
    body.rhigi-account-page .woocommerce {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rhigi-order-pro-card {
        width: calc(100% - 6px) !important;
        margin-left: 3px !important;
        margin-right: 3px !important;
        padding: 13px !important;
    }

    .rhigi-order-pro-card__content {
        grid-template-columns: 82px minmax(0,1fr) !important;
        gap: 10px !important;
    }

    .rhigi-order-pro-card__image {
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
    }

    .rhigi-order-progress,
    .rhigi-order-pro-card__actions,
    .rhigi-order-exception {
        width: calc(100% + 92px) !important;
        margin-left: -92px !important;
    }
}


/* =========================================================
   Rhigi Commerce Core 9.1.3 — True Edge-to-Edge Mobile Orders
   ========================================================= */

@media (max-width: 640px) {
    body.rhigi-account-page {
        overflow-x: hidden !important;
    }

    body.rhigi-account-page .site-main,
    body.rhigi-account-page main,
    body.rhigi-account-page .content-area,
    body.rhigi-account-page .entry-content,
    body.rhigi-account-page .woocommerce,
    body.rhigi-account-page .woocommerce-MyAccount-content {
        max-width: none !important;
    }

    body.rhigi-account-page .woocommerce-MyAccount-content {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.rhigi-account-page .rhigi-orders-pro {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.rhigi-account-page .rhigi-order-filters,
    body.rhigi-account-page .rhigi-order-pro-card,
    body.rhigi-account-page .rhigi-orders-pro__header,
    body.rhigi-account-page .rhigi-orders-pro__empty,
    body.rhigi-account-page .rhigi-orders-pagination {
        width: calc(100vw - 8px) !important;
        max-width: calc(100vw - 8px) !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
        box-sizing: border-box !important;
    }

    body.rhigi-account-page .rhigi-orders-pro__list {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 420px) {
    body.rhigi-account-page .rhigi-order-filters,
    body.rhigi-account-page .rhigi-order-pro-card,
    body.rhigi-account-page .rhigi-orders-pro__header,
    body.rhigi-account-page .rhigi-orders-pro__empty,
    body.rhigi-account-page .rhigi-orders-pagination {
        width: calc(100vw - 4px) !important;
        max-width: calc(100vw - 4px) !important;
        margin-left: 2px !important;
        margin-right: 2px !important;
    }
}


/* Rhigi Commerce Core 9.1.4 — Orders Page Refinement */
.rhigi-orders-pro__header{display:none!important}
.rhigi-orders-pro,.rhigi-order-filters{padding-top:0!important;margin-top:0!important}
@media(max-width:640px){body.rhigi-account-page .woocommerce-MyAccount-content,body.rhigi-account-page .rhigi-orders-pro,body.rhigi-account-page .rhigi-order-filters{padding-top:0!important;margin-top:0!important}}


/* =========================================================
   Rhigi Commerce Core 9.2.0 — Professional Account Centre
   ========================================================= */

.rhigi-account-dashboard {
    display: none !important;
}

.rhigi-account-centre {
    width: min(100%, 980px);
    margin: 0 auto;
    color: #111827;
}

.rhigi-account-centre__heading {
    margin-bottom: 16px;
}

.rhigi-account-centre__heading h1 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 30px !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
}

.rhigi-account-centre__heading p {
    margin: 6px 0 0 !important;
    color: #667085 !important;
    font-size: 14px !important;
}

.rhigi-account-welcome {
    margin-bottom: 18px;
    padding: 22px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    background: linear-gradient(135deg, #ff8a00, #ff4d00);
    box-shadow: 0 14px 34px rgba(255,90,0,.22);
}

.rhigi-account-welcome__avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 6px solid rgba(255,255,255,.28);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ff6500;
    background: #fff;
    font-size: 21px;
    font-weight: 950;
}

.rhigi-account-welcome span {
    display: block;
    color: #fff4eb;
    font-size: 13px;
}

.rhigi-account-welcome h2 {
    margin: 3px 0 !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1.12 !important;
}

.rhigi-account-welcome p {
    margin: 0 !important;
    color: #fff4eb !important;
    font-size: 13px !important;
}

.rhigi-account-group {
    margin-bottom: 16px;
    padding: 17px;
    border: 1px solid #e7ebf0;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15,23,42,.055);
}

.rhigi-account-group__title {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rhigi-account-group__title > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #ff6a00;
    background: #fff3e8;
}

.rhigi-account-group__title svg,
.rhigi-account-item-icon svg,
.rhigi-account-logout svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rhigi-account-group__title h2 {
    margin: 0 !important;
    color: #f05a00 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
}

.rhigi-account-shopping-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
}

.rhigi-account-shopping-card {
    min-height: 142px;
    padding: 15px 10px;
    border: 1px solid #e7ebf0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #111827 !important;
    background: #fff;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 4px 13px rgba(15,23,42,.035);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.rhigi-account-shopping-card:hover {
    transform: translateY(-2px);
    border-color: #fdba74;
    box-shadow: 0 12px 24px rgba(15,23,42,.09);
}

.rhigi-account-item-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #111827;
    background: #fff4ec;
}

.rhigi-account-shopping-card strong {
    font-size: 13px !important;
    font-weight: 850 !important;
}

.rhigi-account-shopping-card small {
    margin-top: 5px;
    color: #667085;
    font-size: 10px !important;
    line-height: 1.35 !important;
}

.rhigi-account-list {
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 14px;
}

.rhigi-account-list > a {
    min-height: 70px;
    padding: 10px 13px;
    border-bottom: 1px solid #edf0f4;
    display: grid;
    grid-template-columns: 43px minmax(0,1fr) 24px;
    gap: 11px;
    align-items: center;
    color: #111827 !important;
    background: #fff;
    text-decoration: none !important;
}

.rhigi-account-list > a:last-child {
    border-bottom: 0;
}

.rhigi-account-list > a:hover {
    background: #fffaf6;
}

.rhigi-account-list .rhigi-account-item-icon {
    width: 40px;
    height: 40px;
    margin: 0;
}

.rhigi-account-list__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rhigi-account-list__copy strong {
    font-size: 13px !important;
    font-weight: 850 !important;
}

.rhigi-account-list__copy small {
    margin-top: 3px;
    color: #667085;
    font-size: 10px !important;
}

.rhigi-account-list > a > b {
    color: #ff5a00;
    font-size: 23px;
    font-weight: 500;
    text-align: right;
}

.rhigi-account-logout {
    min-height: 52px;
    margin-bottom: 18px;
    padding: 0 16px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b91c1c !important;
    background: #fff1f2;
    text-decoration: none !important;
}

.rhigi-account-logout span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
}

.rhigi-account-logout strong {
    font-size: 13px !important;
}

@media (max-width: 760px) {
    body.rhigi-account-page .woocommerce-MyAccount-navigation {
        display: none !important;
    }

    .rhigi-account-centre {
        width: 100% !important;
    }

    .rhigi-account-centre__heading {
        padding: 0 7px;
    }

    .rhigi-account-centre__heading h1 {
        font-size: 25px !important;
    }

    .rhigi-account-welcome {
        margin-left: 4px;
        margin-right: 4px;
        padding: 18px;
        border-radius: 17px;
    }

    .rhigi-account-welcome__avatar {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        border-width: 5px;
        font-size: 17px;
    }

    .rhigi-account-welcome h2 {
        font-size: 20px !important;
    }

    .rhigi-account-group {
        margin-left: 4px;
        margin-right: 4px;
        padding: 13px;
        border-radius: 16px;
    }

    .rhigi-account-shopping-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
    }

    .rhigi-account-shopping-card {
        min-height: 124px;
        padding: 12px 8px;
    }

    .rhigi-account-list > a {
        min-height: 64px;
    }

    .rhigi-account-logout {
        margin-left: 4px;
        margin-right: 4px;
    }
}

@media (max-width: 390px) {
    .rhigi-account-welcome {
        gap: 12px;
    }

    .rhigi-account-welcome__avatar {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .rhigi-account-welcome h2 {
        font-size: 18px !important;
    }

    .rhigi-account-shopping-card strong {
        font-size: 12px !important;
    }
}


/* =========================================================
   Rhigi Commerce Core 9.2.1 — Account Icon Visibility Repair
   ========================================================= */

.rhigi-account-centre svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.rhigi-account-group__title > span,
.rhigi-account-item-icon,
.rhigi-account-logout > span {
    color: #111827 !important;
}

.rhigi-account-group__title > span {
    color: #ff6500 !important;
}

.rhigi-account-shopping-card:nth-child(1) .rhigi-account-item-icon {
    color: #b45309 !important;
    background: #fff7ed !important;
}

.rhigi-account-shopping-card:nth-child(2) .rhigi-account-item-icon {
    color: #dc2626 !important;
    background: #fff1f2 !important;
}

.rhigi-account-shopping-card:nth-child(3) .rhigi-account-item-icon {
    color: #2563eb !important;
    background: #eff6ff !important;
}

.rhigi-account-shopping-card:nth-child(4) .rhigi-account-item-icon {
    color: #7c3aed !important;
    background: #f5f3ff !important;
}

.rhigi-account-list > a:nth-child(1) .rhigi-account-item-icon {
    color: #0f766e !important;
    background: #ecfdf5 !important;
}

.rhigi-account-list > a:nth-child(2) .rhigi-account-item-icon {
    color: #c2410c !important;
    background: #fff7ed !important;
}

.rhigi-account-list > a:nth-child(3) .rhigi-account-item-icon {
    color: #7c3aed !important;
    background: #f5f3ff !important;
}

.rhigi-account-list > a:nth-child(4) .rhigi-account-item-icon {
    color: #ca8a04 !important;
    background: #fefce8 !important;
}

.rhigi-account-logout > span {
    color: #b91c1c !important;
}
