@font-face {
    font-family: "MentorQA Grotesk";
    src: url("../fonts/66c30f25f7178c00197ea80f_BDOGrotesk-VF.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 300 900;
}

html {
    scroll-behavior: smooth;
}

body.mentorqa-commerce-body {
    margin: 0;
    color: var(--mentorqa-ink);
    background: var(--mentorqa-paper);
    font-family: "MentorQA Grotesk", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

.mentorqa-commerce-body *,
.mentorqa-commerce-body *::before,
.mentorqa-commerce-body *::after {
    box-sizing: border-box;
}

.mentorqa-commerce-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--mentorqa-line);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 35px rgba(29, 56, 51, .06);
    backdrop-filter: blur(18px);
}

.mentorqa-commerce-header__inner,
.mentorqa-commerce-footer__inner {
    display: flex;
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    align-items: center;
}

.mentorqa-commerce-header__inner {
    min-height: 82px;
    justify-content: space-between;
    gap: 24px;
}

.mentorqa-commerce-brand {
    display: inline-flex;
    align-items: center;
}

.mentorqa-commerce-brand img {
    display: block;
    width: clamp(150px, 16vw, 190px);
    height: auto;
}

.mentorqa-account-link {
    display: inline-flex;
    min-height: 48px;
    padding: 8px 16px 8px 10px;
    border: 1px solid var(--mentorqa-line);
    border-radius: 999px;
    gap: 9px;
    align-items: center;
    color: var(--mentorqa-ink-strong);
    background: var(--mentorqa-white);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.mentorqa-account-link svg {
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 50%;
    background: var(--mentorqa-blue);
}

.mentorqa-account-link:hover,
.mentorqa-account-link:focus-visible,
.mentorqa-account-link.is-current {
    border-color: var(--mentorqa-ink);
    color: var(--mentorqa-white);
    background: var(--mentorqa-ink);
    transform: translateY(-1px);
}

.mentorqa-account-link:focus-visible,
.mentorqa-commerce a:focus-visible,
.mentorqa-commerce button:focus-visible,
.mentorqa-commerce-footer a:focus-visible,
.mentorqa-modal button:focus-visible,
.mentorqa-modal a:focus-visible {
    outline: 3px solid rgba(38, 72, 66, .28);
    outline-offset: 3px;
}

.mentorqa-commerce {
    min-height: calc(100vh - 250px);
    padding: clamp(48px, 7vw, 86px) 0 clamp(72px, 9vw, 112px);
    background:
        radial-gradient(circle at 100% 0, rgba(220, 233, 238, .9), transparent 35rem),
        radial-gradient(circle at 0 75%, rgba(255, 255, 255, .92), transparent 34rem),
        var(--mentorqa-paper);
}

.mentorqa-commerce-shell {
    width: min(1180px, calc(100% - 48px));
}

.mentorqa-commerce article.page {
    margin: 0;
}

.mentorqa-commerce h1 {
    margin-bottom: 24px;
    font-size: clamp(40px, 6vw, 68px);
}

.mentorqa-commerce h2 {
    letter-spacing: -.025em;
}

.mentorqa-commerce :is(input, select, textarea) {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    font: inherit;
}

.mentorqa-commerce input[type="checkbox"],
.mentorqa-commerce input[type="radio"] {
    width: auto;
    min-height: 0;
    padding: 0;
}

.mentorqa-commerce textarea {
    resize: vertical;
}

.mentorqa-commerce label {
    color: var(--mentorqa-ink-strong);
    font-weight: 700;
}

.mentorqa-commerce .woocommerce-form-login,
.mentorqa-commerce .woocommerce-ResetPassword,
.mentorqa-commerce .woocommerce-form-register {
    width: min(100%, 600px);
    margin: 0 auto;
    padding: clamp(26px, 5vw, 50px) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 70px rgba(29, 56, 51, .09);
}

.mentorqa-commerce .woocommerce-form-login::before {
    display: block;
    margin-bottom: 20px;
    color: var(--mentorqa-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    content: "Личный кабинет MentorQA";
}

.mentorqa-magic-auth {
    width: min(100%, 660px);
    margin-inline: auto;
}

.mentorqa-magic-card {
    padding: clamp(28px, 6vw, 54px);
    border: 1px solid var(--mentorqa-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 26px 80px rgba(29, 56, 51, .1);
    text-align: left;
}

.mentorqa-magic-card h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 7vw, 62px);
    line-height: 1;
    letter-spacing: -.05em;
}

.mentorqa-magic-card>p:not(.mentorqa-eyebrow, .mentorqa-magic-status, .mentorqa-magic-purchase-note) {
    margin: 0 0 22px;
    color: var(--mentorqa-muted);
    font-size: 18px;
}

.mentorqa-magic-form {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.mentorqa-magic-form .mentorqa-commerce-button,
.mentorqa-magic-resend {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    border: 1px solid var(--mentorqa-ink);
    border-radius: 999px;
    color: #fff;
    background: var(--mentorqa-ink);
    font: inherit;
    font-weight: 780;
    cursor: pointer;
}

.mentorqa-magic-form .mentorqa-commerce-button:hover,
.mentorqa-magic-form .mentorqa-commerce-button:focus-visible,
.mentorqa-magic-resend:hover:not(:disabled),
.mentorqa-magic-resend:focus-visible:not(:disabled) {
    color: var(--mentorqa-ink);
    background: transparent;
}

.mentorqa-magic-form .mentorqa-commerce-button:disabled,
.mentorqa-magic-resend:disabled {
    border-color: var(--mentorqa-line) !important;
    color: var(--mentorqa-muted) !important;
    background: #edf2f0 !important;
    cursor: not-allowed;
    transform: none;
}

.mentorqa-magic-purchase-note {
    margin: 24px 0 10px;
    color: var(--mentorqa-ink-strong);
    font-size: 14px;
    font-weight: 700;
}

.mentorqa-magic-product-link {
    display: flex;
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid rgba(38, 72, 66, .22);
    border-radius: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--mentorqa-ink-strong) !important;
    background: linear-gradient(135deg, rgba(111, 209, 196, .18), rgba(255, 255, 255, .84));
    font-size: 15px;
    font-weight: 780;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mentorqa-magic-product-link:hover,
.mentorqa-magic-product-link:focus-visible {
    border-color: rgba(38, 72, 66, .55);
    box-shadow: 0 12px 30px rgba(29, 56, 51, .1);
    outline: none;
    transform: translateY(-2px);
}

.mentorqa-magic-product-link__arrow {
    display: grid;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--mentorqa-ink);
    font-size: 17px;
    transition: transform .2s ease;
}

.mentorqa-magic-product-link:hover .mentorqa-magic-product-link__arrow,
.mentorqa-magic-product-link:focus-visible .mentorqa-magic-product-link__arrow {
    transform: translateX(2px);
}

.mentorqa-magic-wait .mentorqa-magic-card {
    text-align: center;
}

.mentorqa-magic-loader {
    position: relative;
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border: 2px solid rgba(38, 72, 66, .14);
    border-radius: 50%;
    place-items: center;
}

.mentorqa-magic-loader::before {
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-top-color: var(--mentorqa-ink);
    border-right-color: var(--mentorqa-ink);
    border-radius: 50%;
    content: "";
    animation: mentorqa-magic-spin 1s linear infinite;
}

.mentorqa-magic-loader span {
    width: 22px;
    height: 16px;
    border-right: 2px solid var(--mentorqa-ink);
    border-bottom: 2px solid var(--mentorqa-ink);
    transform: rotate(45deg) translate(-2px, -2px);
}

.mentorqa-magic-expiry {
    display: inline-flex;
    margin: 4px 0 22px;
    padding: 12px 16px;
    border-radius: 12px;
    gap: 10px;
    align-items: center;
    background: var(--mentorqa-blue);
    color: var(--mentorqa-ink-strong);
}

.mentorqa-magic-expiry span {
    color: var(--mentorqa-muted);
    font-size: 13px;
}

.mentorqa-magic-status {
    min-height: 24px;
    margin: 0 0 10px;
    color: var(--mentorqa-muted);
    font-size: 14px;
}

.mentorqa-magic-change-email {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 750;
}

@keyframes mentorqa-magic-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mentorqa-magic-loader::before {
        animation: none;
    }
}

.mentorqa-account-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: start;
}

.mentorqa-account-sidebar {
    position: sticky;
    top: 112px;
    padding: 14px;
    border: 1px solid var(--mentorqa-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 20px 55px rgba(29, 56, 51, .06);
}

.mentorqa-commerce .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 4px;
    margin: 0;
}

.mentorqa-commerce .woocommerce-MyAccount-navigation li,
.mentorqa-commerce .woocommerce-MyAccount-navigation a {
    width: 100%;
}

.mentorqa-commerce .woocommerce-MyAccount-navigation a {
    padding: 12px 14px;
    border-color: transparent;
    border-radius: 10px;
    background: transparent;
    font-size: 15px;
}

.mentorqa-commerce .woocommerce-MyAccount-navigation .is-active a,
.mentorqa-commerce .woocommerce-MyAccount-navigation a:hover {
    border-color: var(--mentorqa-ink);
}

.mentorqa-commerce .woocommerce-MyAccount-navigation-link--delete-account a {
    color: #8f3e36;
}

.mentorqa-commerce .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--mentorqa-line);
}

.mentorqa-account-main {
    min-width: 0;
}

.mentorqa-account-hero,
.mentorqa-account-heading {
    margin-bottom: 32px;
}

.mentorqa-account-hero h1,
.mentorqa-account-heading h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -.05em;
}

.mentorqa-account-hero>p:last-child,
.mentorqa-account-heading>p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--mentorqa-muted);
    font-size: 18px;
}

.mentorqa-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.mentorqa-account-tile {
    position: relative;
    display: flex;
    min-height: 160px;
    padding: 24px;
    border: 1px solid var(--mentorqa-line);
    border-radius: 18px;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--mentorqa-ink-strong) !important;
    background: rgba(255, 255, 255, .74);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mentorqa-account-tile:hover {
    border-color: rgba(38, 72, 66, .55);
    box-shadow: 0 18px 50px rgba(29, 56, 51, .08);
    transform: translateY(-3px);
}

.mentorqa-account-tile strong {
    margin-bottom: 5px;
    font-size: 23px;
}

.mentorqa-account-tile>span:not(.mentorqa-account-tile__arrow) {
    max-width: 320px;
    color: var(--mentorqa-muted);
    font-size: 15px;
}

.mentorqa-account-tile__arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    place-items: center;
    background: var(--mentorqa-blue);
}

.mentorqa-content-card {
    margin-top: 0;
    border-radius: 22px;
    box-shadow: 0 22px 65px rgba(29, 56, 51, .07);
}

.mentorqa-account-form,
.mentorqa-danger-card,
.mentorqa-commerce .woocommerce-EditAccountForm,
.mentorqa-commerce .woocommerce-address-fields,
.mentorqa-commerce .woocommerce-order-details,
.mentorqa-commerce .woocommerce-customer-details {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--mentorqa-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 20px 60px rgba(29, 56, 51, .06);
}

.mentorqa-account-form {
    display: grid;
    gap: 10px;
}

.mentorqa-account-form label:not(:first-of-type) {
    margin-top: 10px;
}

.mentorqa-form-hint {
    margin: 2px 0 14px;
    color: var(--mentorqa-muted);
    font-size: 14px;
}

.mentorqa-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.mentorqa-support-guest .woocommerce>h2,
.mentorqa-support-guest .woocommerce>.woocommerce-form-login {
    display: none !important;
}

.mentorqa-guest-support {
    width: min(100%, 760px);
    margin-inline: auto;
}

.mentorqa-guest-support__login {
    margin: 20px 0 0;
    text-align: center;
}

.mentorqa-danger-card {
    border-color: rgba(157, 73, 63, .28);
    background: rgba(255, 248, 247, .88);
}

.mentorqa-danger-card h2 {
    margin-top: 0;
}

.mentorqa-danger-card li {
    margin-bottom: 8px;
}

.mentorqa-danger-button {
    min-height: 48px;
    margin-top: 12px;
    padding: 12px 20px;
    border: 1px solid #8f3e36;
    border-radius: 999px;
    color: #fff;
    background: #8f3e36;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.mentorqa-danger-button:hover {
    color: #8f3e36;
    background: transparent;
}

.mentorqa-inline-notice {
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid var(--mentorqa-line);
    border-left: 4px solid var(--mentorqa-ink);
    border-radius: 12px;
    background: var(--mentorqa-white);
}

.mentorqa-inline-notice.is-success {
    border-left-color: var(--mentorqa-positive);
}

.mentorqa-inline-notice.is-error {
    border-left-color: #9d493f;
}

.mentorqa-commerce .woocommerce-EditAccountForm fieldset {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid var(--mentorqa-line);
    border-radius: 14px;
}

.mentorqa-commerce .woocommerce-EditAccountForm legend {
    padding: 0 8px;
    color: var(--mentorqa-ink-strong);
    font-size: 20px;
    font-weight: 800;
}

.mentorqa-commerce :is(.wc-block-cart, .wc-block-checkout) {
    --wp--preset--color--contrast: var(--mentorqa-ink-strong);
}

.mentorqa-commerce :is(.wc-block-components-sidebar, .wc-block-checkout__main) {
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(29, 56, 51, .07);
}

.mentorqa-test-payment-description {
    margin: 8px 0 0;
    color: var(--mentorqa-muted);
    font-size: 14px;
}

.mentorqa-commerce-footer {
    border-top: 1px solid var(--mentorqa-line);
    background: #fff;
}

.mentorqa-commerce-footer__inner {
    min-height: 132px;
    justify-content: space-between;
    gap: 32px;
}

.mentorqa-commerce-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.mentorqa-commerce-footer a {
    color: var(--mentorqa-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mentorqa-commerce-footer a:hover {
    text-decoration: underline;
}

.mentorqa-commerce-footer p {
    margin: 0;
    color: var(--mentorqa-muted);
    font-size: 14px;
}

.mentorqa-toast-region {
    position: fixed;
    z-index: 400;
    bottom: 28px;
    left: 50%;
    display: grid;
    width: min(560px, calc(100% - 32px));
    gap: 12px;
    transform: translateX(-50%);
    pointer-events: none;
}

.mentorqa-toast {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 18px 20px;
    border: 1px solid rgba(38, 72, 66, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 70px rgba(29, 56, 51, .24);
    pointer-events: auto;
    animation: mentorqa-toast-in .25s ease both;
}

.mentorqa-toast::before {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--mentorqa-ink);
    content: "";
}

.mentorqa-toast.is-success::before {
    background: var(--mentorqa-positive);
}

.mentorqa-toast.is-error::before {
    background: #9d493f;
}

.mentorqa-toast p {
    margin: 0;
    color: var(--mentorqa-ink-strong);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.mentorqa-toast button {
    padding: 4px;
    border: 0;
    color: var(--mentorqa-muted);
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.mentorqa-js .mentorqa-notice-enhanced {
    display: none !important;
}

.mentorqa-modal[hidden] {
    display: none;
}

.mentorqa-modal {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: grid;
    padding: 22px;
    place-items: center;
}

.mentorqa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 35, 32, .62);
    backdrop-filter: blur(8px);
}

.mentorqa-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: clamp(30px, 6vw, 54px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 26px;
    background: var(--mentorqa-white);
    box-shadow: 0 34px 100px rgba(12, 30, 26, .35);
    animation: mentorqa-modal-in .28s ease both;
}

.mentorqa-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--mentorqa-line);
    border-radius: 50%;
    place-items: center;
    color: var(--mentorqa-ink);
    background: var(--mentorqa-paper);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.mentorqa-modal__icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: var(--mentorqa-positive);
    font-size: 30px;
    font-weight: 900;
}

.mentorqa-modal__icon::before {
    content: "✓";
}

.mentorqa-modal.is-failure .mentorqa-modal__icon {
    background: #9d493f;
}

.mentorqa-modal.is-failure .mentorqa-modal__icon::before {
    content: "!";
}

.mentorqa-modal.is-pending .mentorqa-modal__icon {
    background: #a78555;
}

.mentorqa-modal.is-pending .mentorqa-modal__icon::before {
    content: "…";
}

.mentorqa-modal h2 {
    margin: 0 0 14px;
    color: var(--mentorqa-ink-strong);
    font-size: clamp(34px, 6vw, 48px);
    line-height: 1;
    letter-spacing: -.045em;
}

.mentorqa-modal #mentorqa-modal-message {
    margin: 0;
    color: var(--mentorqa-muted);
    font-size: 17px;
}

.mentorqa-modal__actions {
    display: flex;
    margin-top: 28px;
    gap: 18px;
    align-items: center;
}

.mentorqa-modal__secondary {
    color: var(--mentorqa-ink);
    font-weight: 750;
}

body.mentorqa-modal-open {
    overflow: hidden;
}

@keyframes mentorqa-toast-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mentorqa-modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 850px) {
    .mentorqa-account-layout {
        grid-template-columns: 1fr;
    }

    .mentorqa-account-sidebar {
        position: static;
        overflow-x: auto;
    }

    .mentorqa-commerce .woocommerce-MyAccount-navigation ul {
        display: flex;
        width: max-content;
        min-width: 100%;
    }

    .mentorqa-commerce .woocommerce-MyAccount-navigation a {
        white-space: nowrap;
    }

    .mentorqa-commerce .woocommerce-MyAccount-navigation-link--customer-logout {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .mentorqa-commerce-footer__inner {
        padding: 30px 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {

    .mentorqa-commerce-header__inner,
    .mentorqa-commerce-footer__inner,
    .mentorqa-commerce-shell {
        width: min(100% - 28px, 1180px);
    }

    .mentorqa-commerce-header__inner {
        min-height: 70px;
    }

    .mentorqa-commerce-brand img {
        width: 140px;
    }

    .mentorqa-account-link {
        width: 46px;
        min-height: 46px;
        padding: 7px;
        justify-content: center;
    }

    .mentorqa-account-link span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .mentorqa-commerce {
        padding-top: 38px;
    }

    .mentorqa-account-grid {
        grid-template-columns: 1fr;
    }

    .mentorqa-account-tile {
        min-height: 135px;
    }

    .mentorqa-content-card {
        padding: 25px;
    }

    .mentorqa-commerce-footer__inner {
        display: grid;
        justify-items: start;
    }

    .mentorqa-commerce-footer nav {
        display: grid;
        gap: 10px;
    }

    .mentorqa-toast-region {
        bottom: 14px;
        width: min(560px, calc(100% - 24px));
    }

    .mentorqa-modal {
        padding: 12px;
    }

    .mentorqa-modal__dialog {
        border-radius: 20px;
    }

    .mentorqa-modal__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mentorqa-modal__actions>* {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.mentorqa-account-layout {
    display: flex;
    flex-direction: column;
}



.mentorqa-account-hero h1, .mentorqa-account-heading h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 42px);
    letter-spacing: -.05em;
}

.mentorqa-account-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.mentorqa-account-tile {
    position: relative;
    display: flex;
    min-height: auto;
    padding: 16px 40px;
    border: 1px solid var(--mentorqa-line);
    border-radius: 18px;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--mentorqa-ink-strong) !important;
    background: rgba(255, 255, 255, .74);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}


.mentorqa-account-link svg {
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 50%;
    background: #ffffff00;
}



@media (max-width: 600px) {

    .mentorqa-eyebrow {
        margin: 0 0 10px;
        color: var(--mentorqa-muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .mentorqa-account-hero h1, .mentorqa-account-heading h1 {
        margin: 0 0 14px;
        font-size: clamp(26px, 5vw, 42px);
        letter-spacing: -.05em;
    }

    .mentorqa-account-hero>p:last-child, .mentorqa-account-heading>p:last-child {
        max-width: 720px;
        margin: 0;
        color: var(--mentorqa-muted);
        font-size: 14px;
    }

    .mentorqa-account-tile strong {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .mentorqa-account-tile>span:not(.mentorqa-account-tile__arrow) {
        max-width: 320px;
        color: var(--mentorqa-muted);
        font-size: 12px;
    }

}

/* Compact dashboard actions replace the duplicated WooCommerce sidebar. */
.mentorqa-account-main {
    width: 100%;
}

.mentorqa-account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.mentorqa-account-tile {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    min-height: 88px;
    padding: 13px 14px;
    border-radius: 14px;
    align-items: center;
    gap: 11px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 24px rgba(29, 56, 51, .045);
}

.mentorqa-account-tile:hover,
.mentorqa-account-tile:focus-visible {
    border-color: rgba(38, 72, 66, .52);
    box-shadow: 0 13px 30px rgba(29, 56, 51, .09);
    outline: none;
    transform: translateY(-2px);
}

.mentorqa-account-tile__icon {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    place-items: center;
    color: var(--mentorqa-ink);
    background: rgba(111, 209, 196, .2);
}

.mentorqa-account-tile__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mentorqa-account-tile__copy {
    display: flex;
    min-width: 0;
    max-width: none;
    flex-direction: column;
    gap: 3px;
    color: var(--mentorqa-ink-strong);
}

.mentorqa-account-tile .mentorqa-account-tile__copy strong {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
}

.mentorqa-account-tile .mentorqa-account-tile__copy>span {
    color: var(--mentorqa-muted);
    font-size: 12px;
    line-height: 1.35;
}

.mentorqa-account-tile .mentorqa-account-tile__arrow {
    position: static;
    display: grid;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    place-items: center;
    color: var(--mentorqa-muted);
    background: transparent;
    font-size: 23px;
    line-height: 1;
    transition: color .2s ease, transform .2s ease;
}

.mentorqa-account-tile:hover .mentorqa-account-tile__arrow,
.mentorqa-account-tile:focus-visible .mentorqa-account-tile__arrow {
    color: var(--mentorqa-ink);
    transform: translateX(2px);
}

.mentorqa-account-tile.is-danger {
    border-color: rgba(143, 62, 54, .2);
}

.mentorqa-account-tile.is-danger .mentorqa-account-tile__icon {
    color: #8f3e36;
    background: rgba(143, 62, 54, .09);
}

.mentorqa-account-tile.is-logout .mentorqa-account-tile__icon {
    background: rgba(97, 113, 109, .1);
}

@media (max-width: 980px) {
    .mentorqa-account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mentorqa-account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 22px;
    }

    .mentorqa-account-tile {
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 70px;
        padding: 9px 10px;
        border-radius: 12px;
        gap: 8px;
    }

    .mentorqa-account-tile__icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .mentorqa-account-tile__icon svg {
        width: 19px;
        height: 19px;
    }

    .mentorqa-account-tile .mentorqa-account-tile__copy strong {
        font-size: 13.5px;
        line-height: 1.18;
    }

    .mentorqa-account-tile .mentorqa-account-tile__copy>span,
    .mentorqa-account-tile .mentorqa-account-tile__arrow {
        display: none;
    }
}
