/* =========================================================
   ESPACE CLIENT
   ========================================================= */

.dt-client {
    width: 100%;
    padding: 60px;
    background: #eee;
    box-sizing: border-box;
}

.dt-client__container {
    display: grid;
    width: 100%;
    max-width: 1604px;
    margin: 0 auto;
    grid-template-columns:
        280px
        minmax(0, 964px)
        280px;
    column-gap: 40px;
    align-items: start;
    justify-content: center;
    box-sizing: border-box;
}

.dt-client-sidebar {
    grid-column: 1;
}

.dt-client-content {
    grid-column: 2;
    width: 100%;
    max-width: 964px;
    justify-self: center;
}

/* =========================================================
   MENU LATÉRAL
   ========================================================= */

.dt-client-sidebar {
    position: sticky;
    top: 150px;
    display: flex;
    min-width: 0;
    padding: 28px;
    flex-direction: column;
    gap: 30px;
    border-radius: 24px;
    background: #303b4a;
    box-sizing: border-box;
}

.dt-client-sidebar__identity {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.dt-client-sidebar__avatar {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 50%;
    background: #e3ba67;
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.dt-client-sidebar__identity-content {
    min-width: 0;
}

.dt-client-sidebar__welcome,
.dt-client-sidebar__name {
    margin: 0;
}

.dt-client-sidebar__welcome {
    color: rgb(255 255 255 / 68%);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 18px;
}

.dt-client-sidebar__name {
    overflow: hidden;
    color: #fff;
    font-family: "Mulish", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dt-client-sidebar__navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-client-sidebar__link {
    display: flex;
    min-height: 48px;
    padding: 12px 14px;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    color: #fff;
    font-family: "Mulish", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.dt-client-sidebar__link:hover {
    background: rgb(255 255 255 / 10%);
    transform: translateX(3px);
}

.dt-client-sidebar__link--active {
    background: #e3ba67;
    color: #0e0e0e;
}

.dt-client-sidebar__link--active:hover {
    background: #efca7b;
}

.dt-client-sidebar__link-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
}

.dt-client-sidebar__logout-form {
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / 16%);
}

.dt-client-sidebar__logout {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    align-items: center;
    gap: 12px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-family: "Mulish", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.dt-client-sidebar__logout:hover {
    border-color: #e3ba67;
    background: rgb(227 186 103 / 12%);
}

.dt-client-mobile-navigation,
.dt-client-mobile-navigation__trigger {
    display: none;
}

/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.dt-client-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 30px;
}

.dt-client-content__header {
    display: flex;
    padding: 36px;
    justify-content: space-between;
    gap: 24px;
    border-radius: 24px;
    background: #fff;
}

.dt-client-content__eyebrow,
.dt-client-section__eyebrow {
    margin: 0 0 8px;
    color: #96701f;
    font-family: "Mulish", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dt-client-content__title {
    margin: 0;
    color: #0e0e0e;
    font-family: "Scheherazade New", serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
}

.dt-client-content__intro {
    max-width: 700px;
    margin: 12px 0 0;
    color: #555;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 25px;
}

/* =========================================================
   STATUT DU COMPTE
   ========================================================= */

.dt-client-status {
    display: flex;
    padding: 28px 30px;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid transparent;
    border-radius: 20px;
}

.dt-client-status--pending,
.dt-client-status--under-review {
    border-color: #dac58f;
    background: #fff8e7;
}

.dt-client-status--action-required {
    border-color: #e3ba67;
    background: #fff4d7;
}

.dt-client-status--approved {
    border-color: #9ac9aa;
    background: #edf8f1;
}

.dt-client-status--rejected {
    border-color: #e0aaaa;
    background: #fff0f0;
}

.dt-client-status__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    font-size: 21px;
}

.dt-client-status__content {
    flex: 1;
}

.dt-client-status__label {
    margin: 0 0 5px;
    color: #786020;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.dt-client-status__title {
    margin: 0;
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 30px;
}

.dt-client-status__description {
    max-width: 760px;
    margin: 8px 0 0;
    color: #4b4b4b;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 24px;
}


.dt-client-mdp-return{
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}



.dt-client-status__button,
.dt-client-button {
    display: inline-flex;
    min-height: 44px;
    margin-top: 18px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 10px;
    background: #e3ba67;
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.dt-client-button-return {
    padding: 0px 20px;
}



/* =========================================================
   RÉSUMÉ
   ========================================================= */

.dt-client-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dt-client-summary__card {
    display: flex;
    min-height: 125px;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border-radius: 18px;
    background: #fff;
    color: #0e0e0e;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.dt-client-summary__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgb(0 0 0 / 8%);
}

.dt-client-summary__value {
    font-family: "Mulish", sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 38px;
}

.dt-client-summary__label {
    color: #666;
    font-family: "Inter", sans-serif;
    font-size: 14px;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.dt-client-section {
    padding: 32px;
    border-radius: 24px;
    background: #fff;
}

.dt-client-section__header {
    display: flex;
    margin-bottom: 26px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.dt-client-section__title {
    margin: 0;
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 32px;
}

.dt-client-section__link {
    color: #765817;
    font-family: "Mulish", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================================================
   FAVORIS VIDES
   ========================================================= */

.dt-client-empty-state {
    display: flex;
    min-height: 260px;
    padding: 35px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed #c8c8c8;
    border-radius: 18px;
    background: #fafafa;
    text-align: center;
}

.dt-client-empty-state__icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: #eee;
    color: #303b4a;
}

.dt-client-empty-state__title {
    margin: 0;
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 21px;
    font-weight: 800;
}

.dt-client-empty-state__description {
    max-width: 540px;
    margin: 10px 0 0;
    color: #666;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 23px;
}

/* =========================================================
   FAVORIS
   ========================================================= */

.dt-client-favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* =========================================================
   PROFIL CLIENT
   ========================================================= */

.dt-client-profile__success {
    margin: 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: #edf4ee;
    color: #275738;
    font-family: "Mulish", sans-serif;
    font-weight: 700;
}

.dt-client-profile__errors {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #f2c7c2;
    border-radius: 12px;
    background: #fff3f1;
    color: #8d2a1e;
    font: 600 14px/21px "Mulish", sans-serif;
}

.dt-client-profile__errors p,
.dt-client-profile__errors ul { margin: 0; }
.dt-client-profile__errors ul { padding-left: 20px; }

.dt-client-profile__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dt-client-profile__form label {
    display: grid;
    gap: 7px;
    color: #303b4a;
    font-family: "Mulish", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.dt-client-profile__form input,
.dt-client-profile__form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #d8d5cf;
    border-radius: 8px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
    font: inherit;
}

.dt-client-profile__form input:disabled { background: #f3f2ef; color: #666; }
.dt-client-profile__form small { color: #666; font-weight: 400; line-height: 18px; }
.dt-client-profile__form .dt-client-button { width: fit-content; align-self: end; }
.dt-client-profile__contact-options { display: flex; flex-wrap: wrap; grid-column: 1 / -1; align-items: center; gap: 10px; }
.dt-client-profile__form .dt-client-profile__contact-option { display: inline-flex; min-height: 42px; padding: 8px 12px; align-items: center; gap: 9px; border-radius: 9px; background: #0e0e0e; color: #fff; font: 700 13px/18px "Mulish", sans-serif; cursor: pointer; }
.dt-client-profile__form .dt-client-profile__contact-option input { width: 17px; height: 17px; min-height: 17px; margin: 0; padding: 0; flex: 0 0 17px; accent-color: #e3ba67; cursor: pointer; }
.dt-client-profile__form .dt-client-profile__contact-option:has(input:checked) { outline: 2px solid #e3ba67; outline-offset: 2px; }
.dt-client-profile__contact-action-form { padding: 0 0 20px; }
.dt-client-profile__contact-action { display: inline-flex; min-height: 44px; padding: 10px 20px; align-items: center; justify-content: center; border: 1px solid #a53427; border-radius: 10px; background: #fff; color: #a53427; font: 700 16px "Mulish", sans-serif; cursor: pointer; }
.dt-client-profile__contact-action--reactivate { border-color: #0e0e0e; color: #0e0e0e; }
.dt-client-profile__form .dt-client-button { cursor: pointer; }

.dt-client-profile__details,
.dt-client-profile__users { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid #e5e5e5; border-radius: 14px; background: #e5e5e5; }
.dt-client-profile__details div,
.dt-client-profile__users div { display: grid; gap: 5px; padding: 17px; background: #fff; }
.dt-client-profile__details dt { color: #777; font: 600 12px "Mulish", sans-serif; }
.dt-client-profile__details dd { margin: 0; color: #111; font: 700 15px/22px "Mulish", sans-serif; }
.dt-client-profile__users strong { color: #111; font-family: "Mulish", sans-serif; }
.dt-client-profile__users span, .dt-client-profile__users small { color: #666; font: 13px/19px "Mulish", sans-serif; overflow-wrap: anywhere; }
.dt-client-profile__contacts-heading { margin-top: 24px; }
.dt-client-profile__contacts-heading h3 { margin: 0; color: #303b4a; font: 700 17px "Mulish", sans-serif; }
.dt-client-profile__contacts-heading p { margin: 5px 0 12px; color: #666; font: 14px/20px "Mulish", sans-serif; }
.dt-client-favorites-empty { display: grid; max-width: 590px; padding: 26px; gap: 9px; border: 1px solid #e5e5e5; border-radius: 14px; background: #fafafa; }
.dt-client-favorites-empty[hidden] {
    display: none !important;
}
.dt-client-favorites-empty h3, .dt-client-favorites-empty p { margin: 0; }
.dt-client-favorites-empty h3 { color: #303b4a; font: 700 18px "Mulish", sans-serif; }
.dt-client-favorites-empty p { color: #666; font: 15px/23px "Mulish", sans-serif; }
.dt-client-favorites-empty .dt-client-favorite-card__view-button { width: fit-content; margin-top: 5px; }

.dt-client-profile-address { border-top: 1px solid #e5e5e5; }
.dt-client-profile-address:first-of-type { border-top: 0; }
.dt-client-profile-address summary { display: flex; padding: 17px 0; justify-content: space-between; gap: 14px; cursor: pointer; color: #303b4a; font-family: "Mulish", sans-serif; }
.dt-client-profile-address summary span { display: grid; gap: 4px; }
.dt-client-profile-address summary small { color: #777; }
.dt-client-profile__form--address { padding: 0 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dt-client-profile__address-defaults { display: flex; padding: 0; grid-column: 1 / -1; gap: 16px; border: 0; }
.dt-client-profile__address-defaults legend { margin-bottom: 8px; color: #303b4a; font: 700 14px "Mulish", sans-serif; }
.dt-client-profile__address-defaults label { display: inline-flex; align-items: center; gap: 7px; color: #303b4a; font: 600 14px "Mulish", sans-serif; }
.dt-client-profile__address-defaults input { width: 16px; min-height: 16px; margin: 0; accent-color: #303b4a; }
.dt-client-profile-address--create summary { display: inline-flex; width: fit-content; padding: 11px 15px; align-items: center; border-radius: 9px; background: #e3ba67; color: #111; font-weight: 700; }
.dt-client-profile-address--create summary small { color: #493c22; font-weight: 400; }
.dt-client-profile__address-deactivate { padding: 0 0 20px; }
.dt-client-profile__address-deactivate button { padding: 0; border: 0; background: transparent; color: #a53427; font: 700 14px "Mulish", sans-serif; text-decoration: underline; cursor: pointer; }
.dt-client-profile__empty { margin: 0; color: #666; font: 15px/23px "Mulish", sans-serif; }

.dt-client-favorite-card {
    display: grid;
    grid-template-rows: 244px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgb(18 18 18 / 6%);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dt-client-favorite-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgb(18 18 18 / 10%);
}

.dt-client-favorite-card__image-link {
    display: flex;
    min-height: 0;
    padding: 22px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ebe8e3;
    background: #f5f4f2;
}

.dt-client-favorite-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: contain;
}

.dt-client-favorite-card__content {
    display: flex;
    min-width: 0;
    min-height: 230px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.dt-client-favorite-card__heading {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 10px;
}

.dt-client-favorite-card__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.dt-client-favorite-card__favorite {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e3ba67;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.dt-client-favorite-card__favorite img {
    width: 23px;
    height: 21px;
}

.dt-client-favorite-card__favorite:hover {
    background: #d7aa50;
}

.dt-client-favorite-card__favorite.is-loading {
    cursor: wait;
    opacity: 0.55;
}

.dt-client-favorite-card__favorite:focus-visible,
.dt-client-favorite-card__view-button:focus-visible,
.dt-client-favorite-card .dt-add-to-cart-button:focus-visible {
    outline: 3px solid rgb(227 186 103 / 55%);
    outline-offset: 3px;
}

.dt-client-favorite-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dt-client-favorite-card__tags span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1eee8;
    color: #5f512e;
    font-family: "Mulish", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.dt-client-favorite-card__availability,
.dt-client-favorite-card__price {
    margin: 0;
    color: #4b4b4b;
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.dt-client-favorite-card__availability {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf4ee;
    color: #275738;
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
}

.dt-client-favorite-card .dt-product-card-prices {
    min-height: 24px;
}

.dt-client-favorite-card__price {
    color: #0e0e0e;
    font-size: 16px;
    font-weight: 800;
}

.dt-client-favorite-card__actions {
    display: grid;
    width: 100%;
    margin-top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dt-client-favorite-card__view-button,
.dt-client-favorite-card .dt-add-to-cart-button {
    display: inline-flex;
    min-height: 38px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: "Mulish", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* =========================================================
   COMMANDES CLIENT
   ========================================================= */

.dt-client-orders,
.dt-client-order-detail,
.dt-client-order-header {
    padding: 32px;
    border-radius: 24px;
    background: #fff;
}

.dt-client-orders-table__wrapper,
.dt-client-order-items-table__wrapper {
    overflow: hidden;
    border: 1px solid #e6e3dc;
    border-radius: 15px;
}

.dt-client-orders-table,
.dt-client-order-items-table {
    width: 100%;
    border-collapse: collapse;
    color: #303b4a;
    font-family: "Mulish", sans-serif;
}

.dt-client-orders-table th,
.dt-client-order-items-table th {
    padding: 14px 16px;
    background: #f4f2ee;
    color: #625d54;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    text-align: left;
    text-transform: uppercase;
}

.dt-client-orders-table td,
.dt-client-order-items-table td {
    padding: 16px;
    border-top: 1px solid #ebe8e2;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
}

.dt-client-orders-table tbody tr { transition: background 160ms ease; }
.dt-client-orders-table tbody tr:hover { background: #fcfaf5; }
.dt-client-orders-table__number { color: #0e0e0e; font-size: 15px !important; font-weight: 800; white-space: nowrap; }
.dt-client-orders-table__amount { font-weight: 800; text-align: right !important; white-space: nowrap; }
.dt-client-orders-table th.dt-client-orders-table__amount { text-align: right; }
.dt-client-orders-table__action { width: 1%; text-align: right; white-space: nowrap; }

.dt-client-orders__view {
    display: inline-flex;
    min-height: 38px;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #303b4a;
    color: #fff;
    font: 800 13px "Mulish", sans-serif;
    text-decoration: none;
    transition: background 180ms ease;
}

.dt-client-orders__view:hover { background: #1f2835; }
.dt-client-orders__view:focus-visible,
.dt-client-order-header__back:focus-visible { outline: 3px solid rgb(227 186 103 / 65%); outline-offset: 3px; }

.dt-client-order-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: #303b4a;
    font-family: "Mulish", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 17px;
    white-space: nowrap;
}

.dt-client-order-status--submitted,
.dt-client-order-status--under_review { background: #f7edd0; color: #785d1d; }
.dt-client-order-status--approved,
.dt-client-order-status--production { background: #e3edf8; color: #264f77; }
.dt-client-order-status--shipping { background: #e5f2ed; color: #276246; }
.dt-client-order-status--completed { background: #e1f3e5; color: #245f37; }
.dt-client-order-status--cancelled { background: #f8e3e0; color: #91372b; }

.dt-client-order-header__back {
    display: inline-flex;
    color: #765817;
    font: 800 14px "Mulish", sans-serif;
    text-decoration: none;
    text-underline-offset: 4px;
}

.dt-client-order-header__content {
    display: flex;
    margin-top: 26px;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.dt-client-order-header h1 { margin: 5px 0; color: #0e0e0e; font: 800 34px/40px "Mulish", sans-serif; }
.dt-client-order-header__content > div > p:last-child { margin: 0; color: #666; font: 15px "Mulish", sans-serif; }
.dt-client-order-header .dt-client-content__eyebrow { margin: 0; color: #786020; }

.dt-client-order-header__summary {
    display: grid;
    min-width: 150px;
    justify-items: end;
    gap: 5px;
    padding-left: 24px;
    border-left: 1px solid #e5e1d9;
    text-align: right;
}

.dt-client-order-header__summary p { margin: 10px 0 0; color: #777; font: 700 12px "Mulish", sans-serif; text-transform: uppercase; }
.dt-client-order-header__summary strong { color: #0e0e0e; font: 800 25px/30px "Mulish", sans-serif; }

.dt-client-order-detail {
    display: grid;
    gap: 30px;
}

.dt-client-order-detail h2,
.dt-client-order-addresses h2 {
    margin: 0 0 18px;
    color: #0e0e0e;
    font: 800 20px/26px "Mulish", sans-serif;
}

.dt-client-order-items-table th:first-child { min-width: 190px; }
.dt-client-order-items-table__product { display: flex; min-width: 0; align-items: center; gap: 12px; }
.dt-client-order-items-table__product strong { color: #0e0e0e; font-size: 14px; }
.dt-client-order-items-table__thumbnail {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    border-radius: 8px;
    background: #f5f4f2;
    overflow: hidden;
}
.dt-client-order-items-table__thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.dt-client-order-items-table__sku { color: #555; font-weight: 800; white-space: nowrap; }
.dt-client-order-items-table__description { max-width: 260px; color: #666; }
.dt-client-order-items-table__quantity { text-align: center; }
.dt-client-order-items-table__amount { text-align: right; white-space: nowrap; }
.dt-client-order-items-table th.dt-client-order-items-table__amount { text-align: right; }

.dt-client-order-detail__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
    align-items: start;
    gap: 30px;
}

.dt-client-order-addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: #e5e5e5;
    overflow: hidden;
}

.dt-client-order-addresses article { display: grid; padding: 24px; gap: 4px; background: #fff; }
.dt-client-order-addresses h2 { margin-bottom: 10px; font-size: 17px; }
.dt-client-order-addresses span { color: #555; font: 14px/21px "Mulish", sans-serif; }

.dt-client-order-summary {
    padding: 24px;
    border-radius: 15px;
    background: #f5f4f2;
}

.dt-client-order-summary h2 { margin-bottom: 16px; font-size: 18px; }
.dt-client-order-summary dl { margin: 0; }
.dt-client-order-summary dl div { display: flex; padding: 10px 0; justify-content: space-between; gap: 16px; border-top: 1px solid #dedbd5; font: 14px "Mulish", sans-serif; }
.dt-client-order-summary dl div:first-child { border-top: 0; padding-top: 0; }
.dt-client-order-summary dt { color: #555; }
.dt-client-order-summary dd { margin: 0; color: #111; font-weight: 800; text-align: right; }
.dt-client-order-summary .dt-client-order-summary__total { margin-top: 5px; padding-top: 15px; color: #111; font-size: 17px; font-weight: 800; }
.dt-client-order-summary__payment,
.dt-client-order-summary__delivery { margin: 17px 0 0; color: #555; font: 14px/21px "Mulish", sans-serif; }

.dt-client-favorite-card__view-button:only-child {
    grid-column: 1 / -1;
}

.dt-client-favorite-card__view-button {
    background: #303b4a;
    color: #fff;
}

.dt-client-favorite-card .dt-add-to-cart-button {
    width: 100%;
    border: 0;
    background: #e3ba67;
    color: #0e0e0e;
    cursor: pointer;
}

/* =========================================================
   INFORMATIONS ENTREPRISE
   ========================================================= */

.dt-client-company {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
}

.dt-client-company__item {
    display: flex;
    min-height: 100px;
    padding: 22px;
    flex-direction: column;
    gap: 7px;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.dt-client-company__item:nth-child(2n) {
    border-right: 0;
}

.dt-client-company__item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.dt-client-company__label {
    color: #777;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.dt-client-company__value {
    color: #0e0e0e;
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    overflow-wrap: anywhere;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1500px) {
    .dt-client {
        padding-right: 35px;
        padding-left: 35px;
    }

    .dt-client__container {
        max-width: 1200px;
        grid-template-columns: 260px minmax(0, 1fr);
        column-gap: 28px;
    }

    .dt-client-sidebar {
        grid-column: 1;
    }

    .dt-client-content {
        grid-column: 2;
        max-width: none;
    }
}

@media (max-width: 850px) {
    .dt-client {
        padding: 35px 22px 55px;
    }

    .dt-client__container {
        display: flex;
        flex-direction: column;
    }

    .dt-client-sidebar { display: none; }

    .dt-client-mobile-navigation__trigger {
        display: flex;
        width: 100%;
        min-height: 54px;
        padding: 12px 16px;
        align-items: center;
        justify-content: space-between;
        border: 0;
        border-radius: 14px;
        background: #303b4a;
        color: #fff;
        font: 700 16px "Mulish", sans-serif;
        cursor: pointer;
    }

    .dt-client-mobile-navigation.is-open { display: block; position: fixed; top: var(--dt-client-mobile-header-offset, 0px); right: 0; bottom: 0; left: 0; z-index: 900; }
    .dt-client-mobile-navigation__overlay { position: absolute; inset: 0; width: 100%; border: 0; background: rgb(0 0 0 / 48%); }
    .dt-client-mobile-navigation__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; width: min(360px, 88vw); min-height: 0; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); flex-direction: column; background: #303b4a; box-sizing: border-box; overflow: hidden; box-shadow: -8px 0 30px rgb(0 0 0 / 22%); }
    .dt-client-mobile-navigation__header { display: flex; padding-bottom: 20px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 18%); gap: 12px; }
    .dt-client-mobile-navigation__identity { display: flex; min-width: 0; align-items: center; gap: 11px; color: #fff; font-family: "Mulish", sans-serif; }
    .dt-client-mobile-navigation__identity span:last-child { display: grid; gap: 3px; min-width: 0; }
    .dt-client-mobile-navigation__identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dt-client-mobile-navigation__identity small { color: rgb(255 255 255 / 70%); }
    .dt-client-mobile-navigation__avatar { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; background: #e3ba67; color: #111; font-weight: 800; }
    .dt-client-mobile-navigation__close { width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 8px; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
    .dt-client-mobile-navigation__links { display: grid; min-height: 0; padding: 18px 0; flex: 1 1 auto; gap: 6px; overflow-y: auto; overscroll-behavior: contain; }
    .dt-client-mobile-navigation__links a, .dt-client-mobile-navigation__logout-form button { display: flex; min-height: 46px; padding: 12px; align-items: center; border-radius: 9px; color: #fff; font: 700 15px "Mulish", sans-serif; text-decoration: none; }
    .dt-client-mobile-navigation__links a[aria-current="page"] { background: #e3ba67; color: #111; }
    .dt-client-mobile-navigation__logout-form { padding-top: 18px; flex: 0 0 auto; border-top: 1px solid rgb(255 255 255 / 18%); }
    .dt-client-mobile-navigation__logout-form button { width: 100%; border: 1px solid rgb(255 255 255 / 30%); background: transparent; cursor: pointer; }
    .dt-client-mobile-navigation__trigger:focus-visible, .dt-client-mobile-navigation__close:focus-visible, .dt-client-mobile-navigation__links a:focus-visible, .dt-client-mobile-navigation__logout-form button:focus-visible { outline: 3px solid #e3ba67; outline-offset: 3px; }
    body.dt-client-mobile-navigation-open { overflow: hidden; }

    .dt-client-content {
        width: 100%;
        max-width: none;
    }

    .dt-client-favorite-card {
        grid-template-rows: 220px minmax(0, 1fr);
    }

    .dt-client-order-detail__bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .dt-client-favorites-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dt-client-favorite-card {
        grid-template-rows: 230px minmax(0, 1fr);
    }

    .dt-client-favorite-card__image-link {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .dt-client {
        padding: 24px 14px 45px;
    }

    .dt-client-sidebar,
    .dt-client-content__header,
    .dt-client-section {
        padding: 22px;
        border-radius: 18px;
    }

    .dt-client-sidebar__navigation {
        grid-template-columns: 1fr;
    }

    .dt-client-content__title {
        font-size: 34px;
    }

    .dt-client-status {
        padding: 22px;
        flex-direction: column;
    }

    .dt-client-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dt-client-summary__card {
        min-height: 105px;
        padding: 18px;
    }

    .dt-client-summary__value {
        font-size: 27px;
    }

    .dt-client-section__header {
        flex-direction: column;
    }

    .dt-client-profile__form,
    .dt-client-profile__form--address,
    .dt-client-profile__details,
    .dt-client-profile__users { grid-template-columns: 1fr; }

    .dt-client-profile__form .dt-client-button { width: 100%; }

    .dt-client-profile-address summary { flex-direction: column; }
    .dt-client-profile__address-defaults { flex-direction: column; gap: 9px; }

    .dt-client-company {
        grid-template-columns: 1fr;
    }

    .dt-client-company__item,
    .dt-client-company__item:nth-child(2n),
    .dt-client-company__item:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .dt-client-company__item:last-child {
        border-bottom: 0;
    }

    .dt-client-favorite-card__content {
        padding: 14px;
    }

    .dt-client-favorite-card__actions {
        grid-template-columns: 1fr;
    }

    .dt-client-favorite-card__view-button:only-child {
        grid-column: auto;
    }

    .dt-client-orders,
    .dt-client-order-detail {
        padding: 22px;
        border-radius: 18px;
    }

    .dt-client-orders-table__wrapper,
    .dt-client-order-items-table__wrapper {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .dt-client-orders-table,
    .dt-client-orders-table tbody,
    .dt-client-orders-table tr,
    .dt-client-orders-table td,
    .dt-client-order-items-table,
    .dt-client-order-items-table tbody,
    .dt-client-order-items-table tr,
    .dt-client-order-items-table td {
        display: block;
        /* width: 100%; */
    }

    .dt-client-orders-table thead,
    .dt-client-order-items-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .dt-client-orders-table tr,
    .dt-client-order-items-table tr {
        padding: 17px;
        border: 1px solid #e6e3dc;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 4px 12px rgb(18 18 18 / 4%);
    }

    .dt-client-orders-table tr + tr,
    .dt-client-order-items-table tr + tr { margin-top: 12px; }

    .dt-client-orders-table td,
    .dt-client-order-items-table td {
        display: flex;
        padding: 7px 0;
        justify-content: space-between;
        gap: 16px;
        border: 0;
        text-align: right;
    }

    .dt-client-orders-table td::before,
    .dt-client-order-items-table td::before {
        content: attr(data-label);
        color: #777;
        font: 800 11px/18px "Mulish", sans-serif;
        letter-spacing: .04em;
        text-align: left;
        text-transform: uppercase;
    }

    .dt-client-orders-table__number { font-size: 16px !important; }
    .dt-client-orders-table__action { display: block !important; padding-top: 13px !important; }
    .dt-client-orders-table__action::before { content: none !important; }

    .dt-client-order-header { padding: 22px; border-radius: 18px; }
    .dt-client-order-header__content { margin-top: 21px; align-items: flex-start; flex-direction: column; }
    .dt-client-order-header h1 { font-size: 27px; line-height: 34px; }
    .dt-client-order-header__summary { width: 100%; padding: 16px 0 0; justify-items: start; border-top: 1px solid #e5e1d9; border-left: 0; text-align: left; }

    .dt-client-order-items-table__product { justify-content: flex-end; text-align: right; }
    .dt-client-order-items-table__thumbnail { width: 60px; height: 60px; flex-basis: 60px; }
    .dt-client-order-items-table__description { max-width: 65%; }
    .dt-client-order-items-table__quantity,
    .dt-client-order-items-table__amount { text-align: right; }
    .dt-client-order-addresses { grid-template-columns: 1fr; border-radius: 18px; }
}
