.dbi-my-account-orders-container {
    background-color: rgba(247, 247, 247, 1);
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.dbi-my-account-orders-order-id {
    font-weight: 500;
    color: rgba(133, 133, 133, 1);
    display: flex;
    justify-content: space-between;
}

.dbi-my-account-orders-order-id-number {
    color: #000;
}

.dbi-my-account-orders-order-item {
    padding: 0.8rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    background-color: rgba(255, 255, 255, 1);
}

.dbi-my-account-orders-order-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 0.5rem;
}

.dbi-my-account-orders-order-item-header .left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;
}

.dbi-my-account-orders-order-item-actions .mobile {
    display: none;
    justify-content: end;
    position: relative;
    cursor: pointer;
}

.dbi-my-account-orders-order-item-actions .browser {
    text-align: right;
}

.dbi-my-account-orders-order-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;
}

.dbi-my-account-orders-order-item-actions .browser .button {
    font-weight: 400;
    margin: 0 !important;
}

.dbi-my-account-orders-order-item-status {
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    width: fit-content;
    padding: 0.2rem 0.5rem;

    background-color: rgba(227, 227, 227);
    color: #000;
}

.dbi-my-account-orders-order-item-status.status-awaiting-process {
    background-color: rgba(255, 250, 205, 1);
    color: rgba(255, 165, 0, 1);
}

.dbi-my-account-orders-order-item-status.status-pending {
    background-color: rgba(255, 229, 229, 1);
    color: rgba(204, 0, 0, 1);
}

.dbi-my-account-orders-order-item-status.status-processing {
    background-color: rgba(254, 243, 221, 1);
    color: rgba(251, 182, 25, 1);
}

.dbi-my-account-orders-order-item-status.status-on-hold {
    background-color: rgba(227, 227, 250, 1);
    color: rgba(54, 79, 199, 1);
}

.dbi-my-account-orders-order-item-status.status-completed {
    background-color: rgba(213, 242, 192, 1);
    color: rgba(88, 162, 34, 1);
}

.dbi-my-account-orders-order-item-status.status-cancelled {
    background-color: rgba(228, 98, 111, 0.2);
    color: rgba(192, 55, 68, 1);
}

.dbi-my-account-orders-order-item-status.status-partially-refunded {
    background-color: rgba(255, 241, 204, 1);
    color: rgba(255, 140, 0, 1);
}

.dbi-my-account-orders-order-item-status.status-refunded {
    background-color: rgba(217, 240, 255, 1);
    color: rgba(0, 123, 255, 1);
}

.dbi-my-account-orders-order-item-status.status-failed {
    background-color: rgba(255, 215, 215, 1);
    color: rgba(204, 0, 0, 1);
}

.dbi-my-account-orders-order-item-status.status-order-split {
    background-color: rgba(240, 240, 240, 1);
    color: rgba(128, 128, 128, 1);
}

.dbi-my-account-orders-order-item-status.status-cancel-request {
    background-color: rgba(255, 230, 230, 1);
    color: rgba(192, 57, 43, 1);
}

.dbi-my-account-orders-order-item-status.status-checkout-draft {
    background-color: rgba(240, 240, 240, 1);
    color: rgba(128, 128, 128, 1);
}

.dbi-my-account-orders-order-item-date {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(133, 133, 133, 1);
}

.dbi-my-account-orders-order-item-id {
    font-weight: 500;
    color: var(--dbi-my-account-primary-color);
}

.dbi-my-account-orders-order-item-name {
    font-weight: 500;
    color: rgba(52, 52, 52, 1);
}

.dbi-my-account-orders-order-item-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dbi-my-account-orders-order-item-product-image {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    border: solid 1px rgba(245, 245, 245, 1);
}

.dbi-my-account-orders-order-item-total {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.dbi-my-account-orders-order-item-total-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(133, 133, 133, 1);
}

.dbi-my-account-orders-order-item-total-text .dbi-my-account-orders-order-item-total-text-value {
    color: rgba(11, 10, 10, 1);
    font-weight: 600;
}

.dbi-my-account-orders-order-total {
    display: flex;
    justify-content: flex-end;
    padding: 0.2rem 0;
    font-size: 1rem;
    text-align: end;
}

.dbi-my-account-orders-order-total span {
    font-weight: 600;
    color: rgba(133, 133, 133, 1);
}

.dbi-my-account-orders-order-total .dbi-my-account-orders-order-total-text {
    color: rgba(11, 10, 10, 1);
    font-weight: 600;
}

.dbi-my-account-orders-order-item-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Order details */

.dbi-my-account-order-header {
    font-weight: 500;
    color: rgba(133, 133, 133, 1);
}

.dbi-my-account-order-header .title {
    color: rgba(84, 84, 84, 1);
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.dbi-my-account-order-header p {
    margin-bottom: 0.2rem;
}

.dbi-my-account-order-header .text-black {
    color: #000;
}

.dbi-my-account-order-header svg {
    fill: var(--dbi-my-account-primary-color);
}

.dbi-my-account-order-header .link {
    color: var(--dbi-my-account-primary-color);
    text-decoration: none;
    display: inline-flex;
}

.dbi-my-account-order-header .support-link {
    color: var(--dbi-my-account-primary-color);
    text-decoration: none;
}

.dbi-my-account-order-header .thank-you {
    color: rgba(0, 183, 84, 1);
}

.dbi-lor-local-pickup-notes {
    border: 1px solid #ddd;
    color: rgba(133, 133, 133, 1);
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.dbi-lor-local-pickup-notes ul {
    margin-bottom: 0;
}

.dbi-lor-local-pickup-notes p {
    font-size: 1.2em;
    color: #666;
}

.dbi-lor-local-pickup-notes a {
    color: #fff;
    background-color: var(--dbi-my-account-primary-color);
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.dbi-lor-local-pickup-notes li {
    margin-left: 1rem;
    border-bottom: 1px solid #ddd;
    padding: 0.8rem 0;
}

.dbi-lor-local-pickup-notes li:last-child {
    border-bottom: none;
    padding: 0;
}

thead .woocommerce-table__product-name.product-name,
thead .woocommerce-table__product-table.product-total {
    font-size: 1.2em !important;
}

.dbi-my-account-order-addresses {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.dbi-my-account-order-addresses .col-1,
.dbi-my-account-order-addresses .col-2 {
    flex: 1;
    padding: 0 20px;
}

.dbi-my-account-order-addresses .content {
    height: 100%;
    background-color: rgba(250, 250, 250, 1);
    padding: 12px;
}

.dbi-my-account-order-addresses .content p {
    margin-bottom: 0;
    margin-top: 0.25rem;
}

.dbi-my-account-orders-item-meta ul {
    margin: 0;
}

.dbi-my-account-orders-item-meta li {
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
}

.dbi-my-account-orders-item-meta p {
    margin: 0;
    padding: 0;
    margin-left: 0.5rem;
    border-radius: 5px;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    background-color: rgba(227, 227, 227);
}

@media (max-width: 768px) {
    .dbi-my-account-order-addresses {
        display: block;
    }

    .dbi-my-account-order-addresses .col-1,
    .dbi-my-account-order-addresses .col-2 {
        padding: 0;
        margin: 10px;
    }

    .dbi-my-account-order-addresses .content {
        height: auto;
    }
}

/* Order Details */

@media (max-width: 849px) {
    .dbi-my-account-orders-order-item-actions .browser {
        display: none;
    }

    .dbi-my-account-orders-order-item-actions .mobile {
        display: flex;
    }

    .dbi-my-account-orders-order-item-actions .mobile .dbi-my-account-orders-order-item-actions-dropdown {
        padding: 5px 5px;
        border-radius: 3px;
        box-shadow: -3px 2px 4px 0px rgba(0, 0, 0, 0.1);
    }

    .dbi-my-account-orders-order-item-actions .mobile .dbi-my-account-orders-order-item-actions-dropdown li a {
        padding: 0;
        color: #000;
        display: flex;
        justify-content: space-between;
        flex: 1;
    }

    .dbi-my-account-orders-order-item-actions .mobile .dbi-my-account-orders-order-item-actions-dropdown li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        padding-bottom: 12px;
        border-bottom: 1.5px solid #00000014;
    }

    .dbi-my-account-orders-order-item-actions .mobile .dbi-my-account-orders-order-item-actions-dropdown li svg {
        fill: var(--dbi-my-account-primary-color);
    }

    .dbi-my-account-orders-order-item-actions .mobile .dbi-my-account-orders-order-item-actions-dropdown li:last-child {
        border-bottom: none;
    }

    .dbi-my-account-orders-order-item-actions .mobile .badge {
        background-color: var(--dbi-my-account-primary-color);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        margin: 0;
        font-size: 8px;
        width: 28px;
    }

    .dbi-my-account-orders-order-item-actions .mobile .badge svg {
        display: inline-block;
        flex-shrink: 0;
        width: 0.5em;
        height: auto;
        font-size: 2rem;
        user-select: none;
        fill: currentcolor;
    }
}