.qd-account-page {
    background: #ffffff;
    color: #111827;
    padding: 140px 20px 80px;
    min-height: 520px;
}

.qd-account-container {
    max-width: 1180px;
    margin: 0 auto;
}

.qd-account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.qd-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7a7f8c;
    font-size: 14px;
    margin-bottom: 14px;
}

.qd-breadcrumbs a {
    color: #7a7f8c;
    text-decoration: none;
}

.qd-breadcrumbs a:hover {
    color: #e51b2b;
}

.qd-account-header h1 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 12px;
    color: #111827;
}

.qd-account-header p {
    margin: 0;
    color: #6b7280;
    font-size: 18px;
}

.qd-account-logout {
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    margin-top: 36px;
}

.qd-account-logout:hover {
    color: #e51b2b;
}

.qd-account-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.qd-account-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.qd-account-tab.active,
.qd-account-tab:hover {
    background: #111827;
    color: #ffffff;
}

.qd-account-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.qd-orders-list {
    display: grid;
    gap: 14px;
}

.qd-order-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: #111827;
    background: #ffffff;
    transition: 0.2s ease;
}

.qd-order-item:hover {
    border-color: #e51b2b;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.qd-order-number {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.qd-order-products {
    display: grid;
    gap: 4px;
    color: #6b7280;
    font-size: 14px;
}

.qd-order-side {
    display: grid;
    justify-items: end;
    gap: 8px;
    min-width: 160px;
}

.qd-order-status {
    font-weight: 700;
    font-size: 14px;
}

.qd-order-date {
    color: #6b7280;
    font-size: 14px;
}

.qd-empty-orders {
    text-align: center;
    max-width: 520px;
    margin: 40px auto;
}

.qd-empty-icon {
    font-size: 48px;
    margin-bottom: 18px;
}

.qd-empty-orders h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #111827;
}

.qd-empty-orders p {
    color: #6b7280;
    font-size: 16px;
    margin: 0 0 24px;
}

.qd-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e51b2b;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.qd-primary-button:hover {
    background: #c91422;
}

@media (max-width: 768px) {
    .qd-account-page {
        padding: 110px 16px 56px;
    }

    .qd-account-header {
        display: block;
    }

    .qd-account-header h1 {
        font-size: 36px;
    }

    .qd-account-logout {
        display: inline-flex;
        margin-top: 18px;
    }

    .qd-order-item {
        display: block;
    }

    .qd-order-side {
        justify-items: start;
        margin-top: 14px;
    }
}
.qd-orders-card {
    min-height: 420px;
}

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

.qd-order-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    transition: 0.2s ease;
}

.qd-order-item:hover {
    border-color: #e31b2f;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.qd-order-number {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

.qd-order-products {
    display: grid;
    gap: 6px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
}

.qd-order-products span {
    display: block;
}

.qd-order-products em {
    font-style: normal;
    color: #94a3b8;
    font-weight: 700;
}

.qd-order-meta {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 8px;
    text-align: right;
}

.qd-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.qd-order-date {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.qd-order-method {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
}

.qd-empty-orders {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.qd-empty-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #f4f6fb;
    font-size: 38px;
}

.qd-empty-orders h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
}

.qd-empty-orders p {
    max-width: 520px;
    margin: 0 0 28px;
    color: #64748b;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .qd-order-item {
        grid-template-columns: 1fr;
    }

    .qd-order-meta {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .qd-empty-orders h2 {
        font-size: 28px;
    }

    .qd-empty-orders p {
        font-size: 16px;
    }

    .qd-order-item {
        padding: 18px;
        border-radius: 16px;
    }
}
.qd-profile-form-actions {
    margin-top: 32px;
}

.qd-profile-form-actions .wa-value {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.qd-profile-form-actions input[type="submit"].qd-primary-button,
.qd-profile-form-actions .qd-primary-button {
    min-height: 54px;
    padding: 0 32px;
    border: 0;
    border-radius: 14px;
    background: #ed1b2f;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
}

.qd-profile-form-actions input[type="submit"].qd-primary-button:hover,
.qd-profile-form-actions .qd-primary-button:hover {
    background: #d91528;
}

.qd-profile-form-actions .qd-secondary-button {
    min-height: 54px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f4f6fb;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
}

.qd-profile-form-actions .qd-secondary-button:hover {
    background: #e9edf5;
}
/* Quadro Design account dashboard patch */
.qd-cabinet-page .qd-account-content {
    gap: 24px;
}

.qd-dashboard-welcome {
    padding-bottom: 30px;
}

.qd-dashboard-top {
    margin-bottom: 0;
}

.qd-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
    gap: 24px;
}

.qd-dashboard-card {
    min-height: 210px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.qd-dashboard-card:hover {
    transform: translateY(-2px);
    border-color: #e31b2f;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .1);
}

.qd-dashboard-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #f4f6fb;
    font-size: 30px;
    margin-bottom: 24px;
}

.qd-dashboard-card-title {
    display: block;
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
}

.qd-dashboard-card-text {
    display: block;
    max-width: 480px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.6;
}

.qd-dashboard-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: auto;
    padding: 0 18px;
    border-radius: 14px;
    background: #f4f6fb;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.qd-dashboard-card:hover .qd-dashboard-card-link {
    background: #e31b2f;
    color: #ffffff;
}

.qd-extra-card {
    scroll-margin-top: 120px;
}

.qd-extra-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.qd-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.qd-extra-item {
    min-height: 190px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.qd-extra-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: #e31b2f;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 16px;
}

.qd-extra-item h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.qd-extra-item p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .qd-dashboard-grid,
    .qd-extra-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qd-dashboard-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .qd-dashboard-grid,
    .qd-extra-grid {
        grid-template-columns: 1fr;
    }

    .qd-dashboard-card-wide {
        grid-column: auto;
    }

    .qd-extra-head {
        display: block;
    }

    .qd-extra-head .qd-secondary-button {
        margin-top: 18px;
    }

    .qd-dashboard-card,
    .qd-extra-item {
        min-height: auto;
    }
}
