.mk-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 12px clamp(16px, 5vw, 48px);
}
.mk-toolbar a, .mk-account > a, .mk-logout {
    color: #5f3655;
    font-size: .875rem;
    font-weight: 650;
    text-underline-offset: .25em;
}
.mk-account {
    --mk-ink: #392337;
    --mk-muted: #664c60;
    --mk-line: #eadce7;
    width: min(920px, calc(100% - 32px));
    margin: 12px auto clamp(48px, 8vw, 100px);
    color: var(--mk-ink);
}
.mk-profile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: clamp(18px, 4vw, 38px);
    margin-top: 18px;
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid var(--mk-line);
    border-radius: 32px;
    background: linear-gradient(122deg, #f6e2f2, #fff3f1 88%);
}
.mk-avatar {
    width: clamp(80px, 14vw, 132px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 8px 24px #46243b15;
    background: #e8c5e1;
    color: #5a3152;
    font: 2.75rem Georgia, serif;
}
.mk-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mk-profile h1 {
    margin: 0;
    font: 400 clamp(2.25rem, 6vw, 4.25rem)/1 Georgia, serif;
    letter-spacing: -.055em;
}
.mk-profile p {
    margin: 10px 0;
    color: var(--mk-muted);
}
.mk-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mk-account button, .mk-empty a {
    padding: 9px 16px;
    border: 1px solid #74486a;
    border-radius: 999px;
    color: #5b3152;
    background: transparent;
    font-family: inherit; font-size: .875rem; font-weight: 650; line-height: 1.4;
    cursor: pointer;
}
.mk-photo-actions button:first-child, .mk-empty a {
    color: white;
    background: #633957;
}
.mk-photo-actions button[hidden] { display: none; }
.mk-photo-status { font-size: .85rem; }
.mk-photo-status:empty, .mk-saved [role="status"]:empty { display: none; }
.mk-saved {
    margin-top: 20px;
    padding: clamp(20px, 4vw, 38px);
    background: #fffdfc;
    border: 1px solid var(--mk-line);
    border-radius: 28px;
}
.mk-saved h2 {
    margin: 0 0 16px;
    font: 400 clamp(1.75rem, 4vw, 2.5rem)/1.1 Georgia, serif;
    letter-spacing: -.04em;
}
.mk-favorites {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mk-favorites li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--mk-line);
}
.mk-favorites li > a { display: flex; align-items: center; gap: 14px; }
.mk-favorites img {
    width: 72px;
    height: 62px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8eff6;
}
.mk-favorites small { display: block; color: var(--mk-muted); }
.mk-favorites .mk-empty {
    display: grid;
    justify-items: center;
    justify-content: center;
    padding: 26px 12px;
    border: 1px dashed #d8bdd2;
    border-radius: 18px;
    background: #fbf4f9;
    text-align: center;
}
.mk-empty p { margin: 0; }
.mk-empty a { text-decoration: none; }
@media (max-width: 550px) {
    .mk-profile { grid-template-columns: 1fr; border-radius: 24px; }
    .mk-logout { justify-self: start; }
}

.mk-summary { margin-top: 22px; }
.mk-summary h2 {
    margin: 0 0 12px;
    font: 400 clamp(1.5rem, 4vw, 2rem)/1.1 Georgia, serif;
}
.mk-summary dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}
.mk-summary dl > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    padding: clamp(14px, 3vw, 24px);
    border: 1px solid var(--mk-line);
    border-radius: 20px;
    background: #fff8fb;
}
.mk-summary dt { color: var(--mk-muted); font-size: .9rem; }
.mk-summary dd {
    margin: 0;
    font: 400 clamp(2rem, 5vw, 3rem)/1 Georgia, serif;
}

@media (min-width: 900px) {
    .mk-account {
        width: min(1220px, calc(100% - 64px));
        max-width: none !important;
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
        column-gap: 24px;
    }
    .mk-account > a, .mk-profile { grid-column: 1 / -1; }
    .mk-profile { align-items: center; padding: 34px 44px; }
    .mk-summary, .mk-saved {
        align-self: start;
        margin-top: 24px;
        padding: 24px;
        border: 1px solid var(--mk-line);
        border-radius: 24px;
        background: #fffdfc;
    }
    .mk-summary h2, .mk-saved h2 {
        margin: 0 0 16px;
        font: 400 2rem/1.1 Georgia, serif;
    }
    .mk-summary dl > div { padding: 14px; border-radius: 14px; }
    .mk-favorites .mk-empty {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 20px;
        text-align: left;
    }
}

.mk-account-switcher {
    display:flex; flex-wrap:wrap; gap:clamp(.6rem, 2vw, 1.6rem);
    margin:1.4rem 0 1rem; border-bottom:1px solid #decce1;
}
.mk-account .mk-account-switcher button {
    flex:0 0 auto; width:auto; margin:0; padding:.55rem .15rem;
    border:0; border-bottom:2px solid transparent; border-radius:0;
    background:transparent; color:#654e68; box-shadow:none;
    font:600 .925rem/1.4 system-ui,sans-serif; cursor:pointer;
}
.mk-account .mk-account-switcher button:hover { color:#3d2446; background:#faf4fb; }
.mk-account .mk-account-switcher button[aria-pressed="true"] { color:#53295f; border-bottom-color:#794583; }
.mk-account .mk-account-switcher button:focus-visible { outline:2px solid #794583; outline-offset:2px; }
@media (max-width:700px) {
    .mk-account .mk-account-switcher button { min-height:44px; }
}
.mk-account-sections > section[hidden] { display:none; }
.mk-account-entry { margin-block:.75rem; padding:1rem; border:1px solid #decce1; border-radius:1rem; background:white; overflow-wrap:anywhere; }
.mk-account-entry :is(h3,p) { margin:.25rem 0; }
.mk-account-entry-body { white-space:pre-wrap; }

.wl-model:has(.mamik-heart), .wl-product:has(.mamik-heart) {position:relative}
.mamik-list .wl-save-toggle.mamik-heart {position:absolute;top:10px;right:10px;width:44px;height:44px;padding:0;border:1px solid #d9c8dc;border-radius:50%;background:white;color:#743970;font:30px/1 sans-serif;display:grid;place-items:center;cursor:pointer}
.mamik-list .mamik-heart[aria-pressed=true]{background:#fbeefa}

.mamik-heart svg{display:block;fill:none}.mamik-heart[aria-pressed=true] svg{fill:currentColor}
