
.dg24-account {
    max-width: 1000px;
    margin: 32px auto 120px;
    padding: 0 18px;
    color: #20364a;
    font-family: inherit;
}

.dg24-account__header {
    margin-bottom: 24px;
}

.dg24-account__eyebrow {
    color: #800020;
    font-size: 14px;
    font-weight: 800;
}

.dg24-account__header h1 {
    margin: 10px 0;
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 800;
}

.dg24-account__header p,
.dg24-muted {
    color: #7c8994;
    line-height: 1.9;
}

.dg24-account__summary {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.dg24-account__summary > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    background: #fff;
    border: 1px solid #eee7e9;
    border-radius: 18px;
}

.dg24-account__summary span {
    color: #7c8994;
    font-size: 13px;
}

.dg24-account__summary strong {
    color: #800020;
    font-size: 23px;
}

.dg24-account__empty {
    padding: 48px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #f0e9eb;
    border-radius: 26px;
    box-shadow: 0 8px 30px #30202a0a;
}

.dg24-account__empty-icon {
    margin-bottom: 18px;
    font-size: 42px;
}

.dg24-account__empty h2 {
    font-size: 22px;
}

.dg24-account__empty p {
    color: #7c8994;
    line-height: 2;
}

.dg24-account__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: #fff !important;
    background: #800020;
    border: 0;
    border-radius: 13px;
    text-decoration: none !important;
    font: inherit;
    font-weight: 700;
}

.dg24-account__button:hover {
    background: #650019;
}

.dg24-orders {
    display: grid;
    gap: 16px;
}

.dg24-order-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee7e9;
    border-radius: 20px;
    box-shadow: 0 5px 20px #30202a08;
}

.dg24-order-card__top,
.dg24-order-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.dg24-order-card__top > div,
.dg24-order-card__bottom > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.dg24-order-card__date {
    color: #7c8994;
    font-size: 12px;
    text-align: left;
    overflow-wrap: anywhere;
}

.dg24-order-card__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.dg24-status {
    padding: 6px 10px;
    color: #735300;
    background: #fff4d8;
    border-radius: 9px;
    font-size: 12px;
}

.dg24-status--payment {
    color: #176647;
    background: #e5f6ee;
}

.dg24-order-card__bottom {
    padding-top: 16px;
    border-top: 1px solid #f1edef;
}

.dg24-order-card__bottom strong {
    color: #800020;
}

.dg24-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.dg24-pagination a {
    color: #800020;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 560px) {
    .dg24-account {
        margin-top: 22px;
        padding: 0 14px;
    }

    .dg24-order-card {
        padding: 16px;
    }

    .dg24-order-card__top,
    .dg24-order-card__bottom {
        align-items: flex-start;
    }

    .dg24-order-card__bottom {
        flex-direction: column;
    }

    .dg24-order-card__bottom .dg24-account__button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================================
   DG24 — Customer Order Detail
   ========================================================= */

.dg24-order-detail__section {
    margin-top: 18px;
}

.dg24-order-detail__section h2 {
    margin: 0 0 18px;
    font-size: 19px;
    font-weight: 800;
}

.dg24-order-detail__table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dg24-order-detail__table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.dg24-order-detail__table th,
.dg24-order-detail__table td {
    padding: 13px 10px;
    border-bottom: 1px solid #f1edef;
    white-space: nowrap;
}

.dg24-order-detail__table th {
    color: #7c8994;
    font-size: 13px;
    font-weight: 700;
}

.dg24-order-detail__table td {
    font-size: 14px;
}

.dg24-order-detail__totals {
    display: grid;
    gap: 14px;
}

.dg24-order-detail__totals > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dg24-order-detail__totals span {
    color: #7c8994;
}

.dg24-order-detail__totals strong {
    text-align: left;
    overflow-wrap: anywhere;
}

.dg24-order-detail__totals .dg24-order-detail__payable {
    padding-top: 15px;
    border-top: 1px solid #f1edef;
    color: #800020;
    font-weight: 800;
}

.dg24-order-detail__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.dg24-order-detail__back-link {
    color: #800020;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dg24-order-detail__back-link:hover {
    color: #a52a50;
}

@media (max-width: 560px) {
    .dg24-order-detail__totals > div {
        flex-direction: column;
        gap: 5px;
    }

    .dg24-order-detail__table th,
    .dg24-order-detail__table td {
        padding: 11px 8px;
    }

    .dg24-order-detail__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dg24-order-detail__actions .dg24-account__button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .dg24-order-detail__back-link {
        text-align: center;
        padding: 10px;
    }
}