.detailed-order-card {
    border: 1px solid #dedede;
    background: #fff;
    transition: all 0.25s ease;
}
.detailed-order-card:hover {
    border-color: #0d0037;
}
.detailed-order-header {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 25px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.detailed-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #888;
}
.detailed-order-number strong,
.detailed-order-total strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #0d0037;
}
.detailed-order-number p {
    margin: 7px 0 0;
    font-size: 14px;
    color: #777;
}
.main-order-status {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #0d0037;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.main-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-tracking-section {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}
.tracking-heading {
    margin-bottom: 15px;
}
.tracking-heading span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #888;
}
.tracking-heading strong {
    font-size: 17px;
    font-weight: 600;
    color: #0d0037;
}
.order-tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.order-tracking-steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: #d5d5d5;
}
.tracking-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    color: #888;
}
.tracking-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d5d5d5;
    color: #888;
    border-radius: 50%;
}
.tracking-step span {
    font-size: 14px;
    font-weight: 600;
}
.tracking-step.completed {
    color: #0d0037;
}
.tracking-step.completed .tracking-icon {
    background: #0d0037;
    border-color: #0d0037;
    color: #fff;
}
.tracking-step.current-step .tracking-icon {
    transform: scale(1.08);
    box-shadow: 0 0 0 5px #e5e5e5;
}
.order-information-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
}
.customer-details-card,
.order-meta-card {
    padding: 25px;
}
.customer-details-card {
    border-right: 1px solid #e5e5e5;
}
.order-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.section-title-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    color: #0d0037;
}
.order-section-title h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #0d0037;
}
.customer-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.customer-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15px;
    line-height: 1.6;
    color: #777;
}
.customer-detail-item svg {
    width: 18px;
    min-width: 18px;
    margin-top: 3px;
    color: #0d0037;
}
.customer-detail-item strong {
    font-size: 15px;
    color: #0d0037;
}
.order-meta-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
}
.order-meta-item {
    min-height: 65px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;  
}
.order-meta-item > span {
    font-size: 13px;
    line-height: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #888;
}
.order-meta-item > strong {
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    color: #0d0037;
}
.full-meta-item {
    grid-column: 1 / -1;
}
.meta-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
}
.meta-status svg {
    width: 16px;
    min-width: 16px;
}
.detailed-order-actions {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.primary-order-action,
.secondary-order-action {
    min-height: 44px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}


.primary-order-action {
    background: #0d0037;
    border: 1px solid #0d0037;
    color: #fff;
}


.primary-order-action:hover {
    background: #fff;
    color: #0d0037;
}


.secondary-order-action {
    border: 1px solid #ddd;
    color: #0d0037;
    background: #fff;
}


.secondary-order-action:hover {
    border-color: #0d0037;
    background: #f5f5f5;
}
@media (max-width: 991px) {


    .detailed-order-header {
        grid-template-columns: 1fr 1fr;
    }


    .detailed-order-status {
        grid-column: 1 / -1;
    }


    .order-information-grid {
        grid-template-columns: 1fr;
    }


    .customer-details-card {
        border-right: 0;

        border-bottom: 1px solid #e5e5e5;
    }


}
@media (max-width: 767px) {


    .detailed-order-header {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 20px;
    }


    .order-tracking-section {
        padding: 15px;
    }


    .order-tracking-steps {
        grid-template-columns: 1fr 1fr;

        gap: 22px;
    }


    .order-tracking-steps::before {
        display: none;
    }


    .tracking-step {
        align-items: flex-start;

        text-align: left;

        flex-direction: row;
    }


    .tracking-icon {
        width: 42px;

        height: 42px;

        min-width: 42px;
    }


    .tracking-step.current-step .tracking-icon {
        transform: none;

        box-shadow: none;
    }


    .customer-details-card,
    .order-meta-card {
        padding: 20px;
    }


    .detailed-order-actions {
        padding: 18px 20px;

        flex-wrap: wrap;

        justify-content: flex-start;
    }


}
@media (max-width: 480px) {


    .order-tracking-steps {
        grid-template-columns: 1fr;
    }


    .order-meta-list {
        grid-template-columns: 1fr;
    }


    .full-meta-item {
        grid-column: auto;
    }


    .primary-order-action,
    .secondary-order-action {
        width: 100%;
    }


}
.dashboard-orders-content {
    min-width: 0;
}


.orders-page-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    padding-bottom: 28px;

    margin-bottom: 22px;

    border-bottom: 1px solid #e2e2e2;
}


.orders-page-eyebrow {
    display: block;

    margin-bottom: 9px;

    font-size: 14px;

    line-height: 1;

    letter-spacing: 1.5px;

    font-weight: 700;

    color: #888;
}


.orders-page-header h2 {
    margin: 0 0 8px;

    font-size: 32px;

    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1px;

    color: #0d0037;
}


.orders-page-header p {
    margin: 0;

    font-size: 15px;

    line-height: 1.6;

    color: #777;
}


.orders-header-total {
    min-width: 190px;

    padding: 14px 16px;

    border: 1px solid #dedede;

    display: flex;

    align-items: center;

    gap: 12px;
}


.orders-total-icon {
    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #0d0037;

    color: #fff;

    flex-shrink: 0;
}


.orders-header-total small {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #888;
}


.orders-header-total strong {
    display: block;

    font-size: 16px;

    font-weight: 700;

    color: #0d0037;
}

.order-summary-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 18px;
}


.order-summary-card {
    min-height: 170px;

    padding: 20px;

    border: 1px solid #dedede;

    display: flex;

    flex-direction: column;

    transition: all 0.25s ease;
}


.order-summary-card:hover {
    border-color: #0d0037;

    transform: translateY(-3px);
}


.summary-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.summary-card-top > span {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #888;
}


.summary-icon {
    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #ddd;

    color: #0d0037;
}


.summary-number {
    display: block;

    margin-top: 25px;

    font-size: 38px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.order-summary-card p {
    margin: auto 0 0;

    padding-top: 15px;

    border-top: 1px solid #e5e5e5;

    font-size: 14px;

    line-height: 1.5;

    color: #888;
}


.dark-order-card {
    background: #0d0037;

    color: #fff;

    border-color: #0d0037;
}


.dark-order-card .summary-card-top > span {
    color: #aaa;
}


.dark-order-card .summary-icon {
    border-color: #444;

    color: #fff;
}


.dark-order-card p {
    border-color: #333;

    color: #aaa;
}



/* =========================================================
   ORDERS TOOLBAR
========================================================= */

.orders-toolbar {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    padding: 24px;

    margin-bottom: 15px;

    border: 1px solid #dedede;

    background: #fafafa;
}


.orders-toolbar-heading span {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    letter-spacing: 1.3px;

    font-weight: 700;

    color: #888;
}


.orders-toolbar-heading h3 {
    margin: 0 0 6px;

    font-size: 22px;

    font-weight: 600;

    color: #0d0037;
}


.orders-toolbar-heading p {
    margin: 0;

    font-size: 14px;

    color: #777;
}


.orders-toolbar-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.order-search {
    height: 46px;

    min-width: 245px;

    padding: 0 13px;

    display: flex;

    align-items: center;

    gap: 10px;

    background: #fff;

    border: 1px solid #d8d8d8;

    color: #777;
}


.order-search input {
    width: 100%;

    height: 100%;

    padding: 0;

    border: 0;

    outline: 0;

    background: transparent;

    font-size: 15px;

    color: #0d0037;
}


.order-search input::placeholder {
    color: #999;
}


.order-filter-btn {
    height: 46px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border: 1px solid #0d0037;

    background: #0d0037;

    color: #fff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}


.order-filter-btn:hover {
    background: #fff;

    color: #0d0037;
}



/* =========================================================
   ORDERS LIST
========================================================= */

.orders-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.modern-order-card {
    display: grid;

    grid-template-columns: minmax(140px, 0.8fr) minmax(220px, 1.5fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr) auto;

    align-items: center;

    gap: 22px;

    padding: 20px;

    border: 1px solid #dedede;

    background: #fff;

    transition: all 0.25s ease;
}


.modern-order-card:hover {
    border-color: #0d0037;

    transform: translateY(-2px);
}


.order-card-number {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.order-number-label {
    font-size: 14px;

    letter-spacing: 1.2px;

    font-weight: 700;

    color: #999;
}


.order-card-number strong {
    font-size: 17px;

    font-weight: 700;

    color: #0d0037;
}


.order-date {
    font-size: 14px;

    color: #777;
}


.order-product-preview {
    display: flex;

    align-items: center;

    gap: 13px;

    min-width: 0;
}


.order-product-icon {
    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f5f5f5;

    border: 1px solid #e3e3e3;

    color: #0d0037;

    flex-shrink: 0;
}


.order-product-preview strong {
    display: block;

    margin-bottom: 6px;

    font-size: 16px;

    font-weight: 600;

    color: #0d0037;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.order-product-preview span {
    display: block;

    font-size: 14px;

    color: #888;
}


.order-payment span {
    display: block;

    margin-bottom: 6px;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #999;
}


.order-payment strong {
    font-size: 17px;

    font-weight: 700;

    color: #0d0037;
}


.order-status-box {
    width: fit-content;

    min-height: 38px;

    padding: 0 12px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: 1px solid #ddd;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;
}


.status-dot {
    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #0d0037;
}


.processing-status {
    background: #f5f5f5;
}


.shipped-status {
    border-style: dashed;
}


.delivered-status {
    background: #0d0037;

    border-color: #0d0037;

    color: #fff;
}


.delivered-status .status-dot {
    background: #fff;
}


.order-details-link {
    min-height: 42px;

    padding: 0 14px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: #0d0037;

    border: 1px solid #ddd;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.25s ease;
}


.order-details-link:hover {
    background: #0d0037;

    border-color: #0d0037;

    color: #fff;
}



/* =========================================================
   SUPPORT CARD
========================================================= */

.orders-help-card {
    margin-top: 18px;

    padding: 24px;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 18px;

    background: #0d0037;

    color: #fff;
}


.orders-help-icon {
    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #555;
}


.orders-help-card strong {
    display: block;

    margin-bottom: 5px;

    font-size: 17px;

    font-weight: 600;
}


.orders-help-card p {
    margin: 0;

    font-size: 14px;

    line-height: 1.5;

    color: #aaa;
}


.orders-help-card a {
    min-height: 42px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #fff;

    color: #0d0037;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.25s ease;
}


.orders-help-card a:hover {
    transform: translateX(3px);
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {


    .order-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .modern-order-card {
        grid-template-columns: 1fr 1.5fr 0.8fr;

        gap: 20px;
    }


    .order-status-box {
        grid-column: 2 / 3;
    }


    .order-details-link {
        grid-column: 3 / 4;

        grid-row: 2;

        justify-self: end;
    }


}



/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 991px) {


    .orders-page-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .orders-header-total {
        width: 100%;
    }


    .orders-toolbar {
        align-items: flex-start;

        flex-direction: column;
    }


    .orders-toolbar-actions {
        width: 100%;
    }


    .order-search {
        flex: 1;
    }


    .modern-order-card {
        grid-template-columns: 1fr 1fr;

        gap: 20px;
    }


    .order-product-preview {
        grid-column: 1 / -1;
    }


    .order-details-link {
        grid-column: auto;

        grid-row: auto;

        justify-self: start;
    }


}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {


    .orders-page-header {
        padding-bottom: 22px;

        margin-bottom: 16px;
    }


    .orders-page-header h2 {
        font-size: 28px;
    }


    .order-summary-grid {
        gap: 8px;
    }


    .order-summary-card {
        min-height: 155px;

        padding: 16px;
    }


    .summary-number {
        margin-top: 20px;

        font-size: 32px;
    }


    .orders-toolbar {
        padding: 18px;
    }


    .orders-toolbar-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .order-search {
        width: 100%;

        min-width: 0;
    }


    .order-filter-btn {
        width: 100%;
    }


    .modern-order-card {
        grid-template-columns: 1fr;

        gap: 17px;

        padding: 17px;
    }


    .order-product-preview {
        grid-column: auto;
    }


    .order-status-box {
        grid-column: auto;
    }


    .order-details-link {
        width: 100%;
    }


    .orders-help-card {
        grid-template-columns: 1fr;

        align-items: flex-start;

        padding: 20px;
    }


    .orders-help-card a {
        width: 100%;

        justify-content: space-between;
    }


}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


    .order-summary-grid {
        grid-template-columns: 1fr;
    }


    .orders-page-header h2 {
        font-size: 26px;
    }


    .orders-page-header p {
        font-size: 14px;
    }


    .order-summary-card {
        min-height: 140px;
    }


    .summary-card-top > span {
        font-size: 14px;
    }


    .summary-number {
        font-size: 30px;
    }


    .order-product-preview strong {
        font-size: 15px;

        white-space: normal;
    }


}

    .bm-order-page {
        width: 100%;
        padding: 24px;
    }
    .bm-order-container {
        width: 100%;
        max-width: 1380px;
        margin: 0 auto;
    }
    .bm-order-topbar {
        background: #0D0037;
        color: #fff;
        border-radius: 16px;
        padding: 18px 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 18px;
    }

    .bm-back-link {
        color: #fff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        font-size: 14px;
        font-weight: 600;
    }

    .bm-back-link svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }

    .bm-order-heading {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .bm-order-heading h1 {
        font-size: 20px;
        line-height: 1.2;
        font-weight: 750;
        margin: 0;
    }

    .bm-order-status {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 7px 11px;
        border: 1px solid rgba(255,255,255,.35);
        border-radius: 30px;
        font-size: 14px;
        font-weight: 600;
    }

    .bm-order-status svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
    }

    .bm-order-date {
        text-align: right;
    }

    .bm-order-date span {
        display: block;
        font-size: 14px;
        opacity: .7;
        margin-bottom: 4px;
    }

    .bm-order-date strong {
        font-size: 14px;
        font-weight: 700;
    }

    .bm-order-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
        gap: 18px;
        align-items: start;
    }

    .bm-order-left,
    .bm-order-right {
        min-width: 0;
    }

    .bm-order-card {
        background: #fff;
        border: 1px solid #e5e4ea;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 18px;
    }

    .bm-order-card:last-child {
        margin-bottom: 0;
    }

    .bm-card-header {
        padding: 17px 20px;
        border-bottom: 1px solid #e5e4ea;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .bm-card-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .bm-card-title-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        background: #0D0037;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .bm-card-title-icon svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
    }

    .bm-card-header h2 {
        font-size: 16px;
        line-height: 1.2;
        font-weight: 750;
    }

    .bm-card-header span {
        color: #74727e;
        font-size: 14px;
    }

    .bm-products {
        padding: 4px 20px 10px;
    }

    .bm-product-card {
        display: grid;
        grid-template-columns: 70px minmax(0, 1fr) auto;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
        border-bottom: 1px solid #e5e4ea;
    }

    .bm-product-card:last-child {
        border-bottom: 0;
    }

    .bm-product-image {
        width: 70px;
        height: 70px;
        background: #f7f7f9;
        border-radius: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0D0037;
    }

    .bm-product-image svg {
        width: 29px;
        height: 29px;
        stroke: currentColor;
    }

    .bm-product-info h3 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 7px;
        font-weight: 750;
    }

    .bm-product-info p {
        color: #74727e;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .bm-product-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .bm-meta-item {
        border: 1px solid #e5e4ea;
        border-radius: 6px;
        padding: 5px 8px;
        color: #0D0037;
        font-size: 14px;
        font-weight: 600;
    }

    .bm-product-price {
        text-align: right;
        min-width: 90px;
    }

    .bm-product-price small {
        display: block;
        color: #96949e;
        text-decoration: line-through;
        font-size: 14px;
        margin-bottom: 3px;
    }

    .bm-product-price strong {
        display: block;
        font-size: 16px;
    }

    .bm-info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: #e5e4ea;
    }

    .bm-info-box {
        background: #fff;
        padding: 17px 20px;
    }

    .bm-info-label {
        color: #74727e;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 9px;
        text-transform: uppercase;
        letter-spacing: .4px;
    }

    .bm-info-box h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .bm-info-box p {
        color: #74727e;
        font-size: 14px;
        line-height: 1.65;
    }

    .bm-info-contact {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-top: 8px;
        color: #0D0037;
        font-size: 14px;
    }

    .bm-info-contact svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        flex-shrink: 0;
    }

    .bm-people-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-person {
        padding: 17px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .bm-person + .bm-person {
        border-left: 1px solid #e5e4ea;
    }

    .bm-person-avatar {
        width: 44px;
        height: 44px;
        background: #0D0037;
        color: #fff;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 750;
        flex-shrink: 0;
    }

    .bm-person-info h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .bm-person-info p {
        color: #74727e;
        font-size: 14px;
        line-height: 1.45;
    }

    .bm-summary-card {
        background: #0D0037;
        color: #fff;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 18px;
    }

    .bm-summary-head {
        padding: 19px 20px;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .bm-summary-head h2 {
        font-size: 17px;
        margin-bottom: 5px;
    }

    .bm-summary-head p {
        font-size: 14px;
        opacity: .65;
    }

    .bm-summary-body {
        padding: 18px 20px;
    }

    .bm-summary-row {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        padding: 7px 0;
        font-size: 14px;
    }

    .bm-summary-row span {
        opacity: .68;
    }

    .bm-summary-row strong {
        font-weight: 650;
    }

    .bm-summary-divider {
        height: 1px;
        background: rgba(255,255,255,.18);
        margin: 10px 0;
    }

    .bm-total-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding-top: 7px;
    }

    .bm-total-row span {
        font-size: 14px;
        font-weight: 650;
    }

    .bm-total-row strong {
        font-size: 23px;
    }

    .bm-mini-card {
        background: #fff;
        border: 1px solid #e5e4ea;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 18px;
    }

    .bm-mini-head {
        padding: 16px 19px;
        border-bottom: 1px solid #e5e4ea;
        font-size: 15px;
        font-weight: 750;
    }

    .bm-mini-list {
        padding: 5px 19px 8px;
    }

    .bm-mini-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid #e5e4ea;
    }

    .bm-mini-row:last-child {
        border-bottom: 0;
    }

    .bm-mini-left {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .bm-mini-icon {
        width: 30px;
        height: 30px;
        background: #0D0037;
        color: #fff;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bm-mini-icon svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
    }

    .bm-mini-left span {
        color: #74727e;
        font-size: 14px;
    }

    .bm-mini-row strong {
        font-size: 14px;
        text-align: right;
    }

    .bm-action-card {
        background: #fff;
        border: 1px solid #e5e4ea;
        border-radius: 15px;
        padding: 17px;
    }

    .bm-action-card h3 {
        font-size: 15px;
        margin-bottom: 13px;
    }

    .bm-action-buttons {
        display: grid;
        gap: 8px;
    }

    .bm-action-btn {
        min-height: 43px;
        border-radius: 9px;
        border: 1px solid #0D0037;
        padding: 0 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        background: #0D0037;
        color: #fff;
    }

    .bm-action-btn.secondary {
        background: #fff;
        color: #0D0037;
    }

    .bm-action-btn svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
    }

    .bm-tracking {
        padding: 18px 20px;
    }

    .bm-tracking-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        margin-bottom: 15px;
    }

    .bm-tracking-header h3 {
        font-size: 15px;
    }

    .bm-tracking-header span {
        font-size: 14px;
        color: #74727e;
    }

    .bm-tracking-line {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .bm-track-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 70px;
        gap: 7px;
        text-align: center;
    }

    .bm-track-circle {
        width: 30px;
        height: 30px;
        border: 2px solid #0D0037;
        background: #fff;
        color: #0D0037;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .bm-track-circle svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
    }

    .bm-track-step span {
        font-size: 14px;
        font-weight: 650;
    }

    .bm-track-connector {
        height: 2px;
        background: #0D0037;
        flex: 1;
        margin: 0 -1px;
        position: relative;
        top: -13px;
    }

    @media (max-width: 1050px) {
        .bm-order-layout {
            grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr);
        }

        .bm-product-card {
            grid-template-columns: 60px minmax(0, 1fr) auto;
        }

        .bm-product-image {
            width: 60px;
            height: 60px;
        }
    }

    @media (max-width: 850px) {
        .bm-order-page {
            padding: 16px;
        }

        .bm-order-layout {
            grid-template-columns: 1fr;
        }

        .bm-order-right {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .bm-summary-card,
        .bm-mini-card,
        .bm-action-card {
            margin-bottom: 0;
        }

        .bm-summary-card {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 650px) {
        .bm-order-topbar {
            display: grid;
            grid-template-columns: 1fr auto;
            padding: 15px;
        }

        .bm-order-heading {
            grid-column: 1 / -1;
            grid-row: 1;
        }

        .bm-back-link {
            grid-column: 1;
            grid-row: 2;
        }

        .bm-order-date {
            grid-column: 2;
            grid-row: 2;
        }

        .bm-order-heading h1 {
            font-size: 18px;
        }

        .bm-order-layout {
            gap: 14px;
        }

        .bm-order-card {
            margin-bottom: 14px;
        }

        .bm-card-header {
            padding: 14px 15px;
        }

        .bm-products {
            padding: 3px 15px 7px;
        }

        .bm-product-card {
            grid-template-columns: 58px minmax(0, 1fr);
            gap: 11px;
        }

        .bm-product-image {
            width: 58px;
            height: 58px;
        }

        .bm-product-price {
            grid-column: 2;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .bm-product-price small,
        .bm-product-price strong {
            display: inline-block;
        }

        .bm-info-grid {
            grid-template-columns: 1fr;
        }

        .bm-info-box {
            padding: 15px;
        }

        .bm-people-grid {
            grid-template-columns: 1fr;
        }

        .bm-person {
            padding: 14px 15px;
        }

        .bm-person + .bm-person {
            border-left: 0;
            border-top: 1px solid #e5e4ea;
        }

        .bm-order-right {
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .bm-summary-card {
            grid-column: auto;
        }
    }

    @media (max-width: 480px) {
        .bm-order-page {
            padding: 10px;
        }

        .bm-order-topbar {
            border-radius: 12px;
            gap: 12px;
        }

        .bm-order-status {
            padding: 6px 8px;
        }

        .bm-order-date span {
            font-size: 14px;
        }

        .bm-tracking {
            padding: 15px;
            overflow-x: auto;
        }

        .bm-tracking-line {
            min-width: 500px;
        }

        .bm-card-header h2 {
            font-size: 15px;
        }

        .bm-product-info h3 {
            font-size: 14px;
        }

        .bm-product-meta {
            gap: 5px;
        }

        .bm-meta-item {
            padding: 5px 7px;
        }
    }

    .bm-account-page {
        width: 100%;
        padding: 24px;
    }
    .bm-account-container {
        width: 100%;
        max-width: 1380px;
        margin: 0 auto;
    }
    .bm-account-header {
        background: #0D0037;
        color: #fff;
        border-radius: 15px;
        padding: 20px 24px;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .bm-account-heading {
        display: flex;
        align-items: center;
        gap: 13px;
    }
    .bm-account-heading-icon {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,.35);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .bm-account-heading-icon svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
    }
    .bm-account-heading h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    .bm-account-heading p {
        font-size: 14px;
        opacity: .72;
    }
    .bm-edit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        padding: 0 16px;
        border: 1px solid #fff;
        border-radius: 8px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
    }
    .bm-edit-btn svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
    }
    .bm-profile-layout {
        display: grid;
        grid-template-columns: 310px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 16px;
    }
    .bm-profile-card {
        background: #0D0037;
        color: #fff;
        border-radius: 15px;
        padding: 22px;
        min-height: 250px;
        position: relative;
        overflow: hidden;
    }
    .bm-profile-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    .bm-profile-label {
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .7px;
        opacity: .7;
    }
    .bm-profile-id {
        font-size: 14px;
        font-weight: 700;
        text-align: right;
    }
    .bm-avatar {
        width: 70px;
        height: 70px;
        background: #fff;
        color: #0D0037;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 15px;
    }
    .bm-profile-card h2 {
        font-size: 21px;
        margin-bottom: 6px;
    }
    .bm-profile-email {
        font-size: 14px;
        opacity: .7;
        margin-bottom: 14px;
    }
    .bm-verified {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        border: 1px solid rgba(255,255,255,.35);
        padding: 7px 10px;
        border-radius: 7px;
        font-size: 14px;
        font-weight: 600;
    }
    .bm-verified svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
    }
    .bm-overview-card {
        background: #fff;
        border: 1px solid #e5e3ea;
        border-radius: 15px;
        overflow: hidden;
    }
    .bm-overview-header {
        padding: 17px 20px;
        border-bottom: 1px solid #e5e3ea;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    .bm-overview-header h2 {
        font-size: 16px;
    }
    .bm-overview-header span {
        font-size: 14px;
    }
    .bm-overview-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .bm-overview-item {
        padding: 20px;
        border-right: 1px solid #e5e3ea;
    }
    .bm-overview-item:last-child {
        border-right: 0;
    }
    .bm-overview-icon {
        width: 36px;
        height: 36px;
        background: #0D0037;
        color: #fff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 13px;
    }
    .bm-overview-icon svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
    }
    .bm-overview-item span {
        display: block;
        font-size: 14px;
        margin-bottom: 5px;
    }
    .bm-overview-item strong {
        display: block;
        font-size: 15px;
    }
    .bm-details-card {
        background: #fff;
        border: 1px solid #e5e3ea;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 16px;
    }
    .bm-details-header {
        padding: 17px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e5e3ea;
    }
    .bm-details-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .bm-details-title-icon {
        width: 34px;
        height: 34px;
        background: #0D0037;
        color: #fff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .bm-details-title-icon svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
    }
    .bm-details-header h2 {
        font-size: 16px;
    }
    .bm-details-header span {
        font-size: 14px;
    }
    .bm-details-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .bm-detail-item {
        padding: 17px 20px;
        border-right: 1px solid #e5e3ea;
        border-bottom: 1px solid #e5e3ea;
    }
    .bm-detail-item:nth-child(3n) {
        border-right: 0;
    }
    .bm-detail-item:nth-last-child(-n+3) {
        border-bottom: 0;
    }
    .bm-detail-label {
        display: block;
        font-size: 14px;
        margin-bottom: 7px;
        opacity: .62;
        text-transform: uppercase;
        letter-spacing: .4px;
    }
    .bm-detail-value {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.45;
        word-break: break-word;
    }
    .bm-detail-value.bm-address {
        font-weight: 600;
    }
    .bm-detail-wide {
        grid-column: span 3;
    }
    .bm-status-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .bm-status-card {
        background: #fff;
        border: 1px solid #e5e3ea;
        border-radius: 15px;
        padding: 17px 19px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .bm-status-icon {
        width: 39px;
        height: 39px;
        background: #0D0037;
        color: #fff;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .bm-status-icon svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }
    .bm-status-card span {
        display: block;
        font-size: 14px;
        opacity: .62;
        margin-bottom: 4px;
    }
    .bm-status-card strong {
        display: block;
        font-size: 15px;
    }
    @media (max-width: 1000px) {

        .bm-profile-layout {
            grid-template-columns: 260px minmax(0, 1fr);
        }

        .bm-overview-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .bm-overview-item:nth-child(2) {
            border-right: 0;
        }

        .bm-overview-item:last-child {
            border-top: 1px solid #e5e3ea;
        }

        .bm-details-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .bm-detail-item:nth-child(3n) {
            border-right: 1px solid #e5e3ea;
        }

        .bm-detail-item:nth-child(2n) {
            border-right: 0;
        }

        .bm-detail-item:nth-last-child(-n+3) {
            border-bottom: 1px solid #e5e3ea;
        }

        .bm-detail-item:last-child {
            border-bottom: 0;
        }

        .bm-detail-wide {
            grid-column: span 2;
        }

        .bm-status-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .bm-status-card:last-child {
            grid-column: span 2;
        }
    }

    @media (max-width: 750px) {

        .bm-account-page {
            padding: 16px;
        }

        .bm-profile-layout {
            grid-template-columns: 1fr;
        }

        .bm-profile-card {
            min-height: auto;
        }

        .bm-overview-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .bm-overview-item {
            border-right: 1px solid #e5e3ea !important;
            border-top: 0 !important;
        }

        .bm-overview-item:last-child {
            border-right: 0 !important;
        }
    }

    @media (max-width: 580px) {

        .bm-account-page {
            padding: 10px;
        }

        .bm-account-header {
            padding: 16px;
            align-items: flex-start;
        }

        .bm-account-heading {
            align-items: flex-start;
        }

        .bm-account-heading h1 {
            font-size: 18px;
        }

        .bm-account-heading p {
            line-height: 1.4;
        }

        .bm-edit-btn {
            min-height: 38px;
            padding: 0 11px;
        }

        .bm-edit-btn span {
            display: none;
        }

        .bm-profile-layout {
            gap: 12px;
            margin-bottom: 12px;
        }

        .bm-profile-card,
        .bm-overview-card,
        .bm-details-card,
        .bm-status-card {
            border-radius: 12px;
        }

        .bm-profile-card {
            padding: 18px;
        }

        .bm-overview-grid {
            grid-template-columns: 1fr;
        }

        .bm-overview-item {
            border-right: 0 !important;
            border-bottom: 1px solid #e5e3ea;
            padding: 15px 17px;
            display: flex;
            align-items: center;
            gap: 11px;
        }

        .bm-overview-item:last-child {
            border-bottom: 0;
        }

        .bm-overview-icon {
            margin-bottom: 0;
            flex-shrink: 0;
        }

        .bm-overview-item span {
            margin-bottom: 3px;
        }

        .bm-details-grid {
            grid-template-columns: 1fr;
        }

        .bm-detail-item,
        .bm-detail-item:nth-child(3n),
        .bm-detail-item:nth-child(2n) {
            border-right: 0;
            border-bottom: 1px solid #e5e3ea;
        }

        .bm-detail-item:last-child {
            border-bottom: 0;
        }

        .bm-detail-wide {
            grid-column: span 1;
        }

        .bm-details-header {
            padding: 14px 15px;
        }

        .bm-detail-item {
            padding: 14px 15px;
        }

        .bm-status-grid {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .bm-status-card:last-child {
            grid-column: auto;
        }

        .bm-status-card {
            padding: 14px 15px;
        }
    }
