/* Schnüffelnase – persönlicher Kontobereich */
.woocommerce-account .site-content {
    width: min(85vw, 1600px);
    max-width: none;
    margin-inline: auto;
    background:
        radial-gradient(circle at 8% 8%, rgba(232, 121, 46, 0.09), transparent 26rem),
        #fffaf4;
}

.woocommerce-account .content-area {
    width: 100%;
}

.woocommerce-account .site-main {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 64px) clamp(20px, 2.5vw, 40px);
}

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: clamp(24px, 2.5vw, 48px);
    align-items: start;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
    position: sticky;
    top: 118px;
    padding: 18px;
    border: 1px solid #e5d6ca;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(72, 48, 34, 0.09);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 11px 42px 11px 46px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: #4a382e;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    content: "";
    position: absolute;
    left: 16px;
    width: 19px;
    height: 19px;
    border: 2px solid currentColor;
    border-radius: 7px 7px 9px 9px;
    opacity: .72;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::after {
    content: "›";
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-52%);
    color: #bc8663;
    font-size: 24px;
    font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    transform: translateX(2px);
    border-color: #f0c9ab;
    background: #fff5ec;
    color: #7b4a2f;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    border-color: #e8792e;
    background: #fde3cf;
    color: #5b3422;
    box-shadow: 0 8px 18px rgba(232, 121, 46, 0.14);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 10px;
    padding-top: 11px;
    border-top: 1px solid #eaded5;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #8d3f36;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    min-width: 0;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid #e5d6ca;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(72, 48, 34, 0.08);
}

.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #5c3828;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #b6521a;
    font-weight: 700;
}

.sn-account-welcome {
    position: relative;
    overflow: hidden;
    margin: 30px 0 24px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 24px;
    background: linear-gradient(135deg, #4a3025 0%, #6c4431 100%);
    color: #fffaf4;
}

.sn-account-welcome::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -52px;
    bottom: -70px;
    border: 24px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.sn-account-welcome h2 {
    position: relative;
    margin: 0 0 10px;
    color: #fffaf4 !important;
    font-size: clamp(28px, 4vw, 43px);
}

.sn-account-welcome p {
    position: relative;
    max-width: 720px;
    margin: 0;
    font-size: 1.06rem;
}

.sn-account-welcome .sn-account-eyebrow {
    margin-bottom: 8px;
    color: #ffc99f;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.sn-account-quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.sn-account-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 116px;
    padding: 20px;
    border: 1px solid #ead9cb;
    border-radius: 20px;
    background: #fffaf4;
    color: #49362b !important;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sn-account-card:hover {
    transform: translateY(-2px);
    border-color: #e8792e;
    box-shadow: 0 12px 28px rgba(72, 48, 34, 0.11);
}

.sn-account-card__mark {
    width: 44px;
    height: 44px;
    border-radius: 50% 50% 46% 46%;
    background: #fde3cf;
    box-shadow: inset 0 0 0 8px #fff5eb;
}

.sn-account-card strong,
.sn-account-card small {
    display: block;
}

.sn-account-card strong {
    margin-bottom: 4px;
    color: #633b28;
    font-size: 1.05rem;
}

.sn-account-card small {
    color: #735f53;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.4;
}

.sn-account-card__arrow {
    color: #e8792e;
    font-size: 25px;
}

.woocommerce-account table.shop_table {
    overflow: hidden;
    border: 1px solid #eaded5;
    border-radius: 16px;
}

.woocommerce-account table.shop_table th {
    background: #fff3e9;
    color: #5a3b2b;
}

.woocommerce-account .woocommerce-Button,
.woocommerce-account .woocommerce-button,
.woocommerce-account button.button {
    border-radius: 999px !important;
    background: #e8792e !important;
    color: #fff !important;
    font-weight: 800 !important;
}

.woocommerce-account .form-row input.input-text,
.woocommerce-account .form-row select,
.woocommerce-account .form-row textarea {
    min-height: 48px;
    border: 1px solid #d9c9bc;
    border-radius: 12px;
    background: #fff;
}

.woocommerce-account .woocommerce-form-login {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #e5d6ca;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(72, 48, 34, 0.08);
}

@media (max-width: 900px) {
    .woocommerce-account .site-content {
        width: calc(100% - 32px);
    }

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

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 560px) {
    .woocommerce-account .site-main {
        padding-inline: 12px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        border-radius: 20px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        padding: 11px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px 16px;
    }

    .sn-account-welcome {
        margin-top: 20px;
        padding: 24px 20px;
    }
}

.sn-account-security {
    max-width: 760px;
}

.sn-account-security > p {
    max-width: 62ch;
}

.sn-account-security__passkeys {
    margin-top: 1.5rem;
}

.sn-account-security__passkeys #passkey_app {
    padding: 1.25rem;
    border: 1px solid #eaded5;
    border-radius: 18px;
    background: #fffaf4;
}

.sn-account-magic-login {
    max-width: 620px;
    margin: 24px auto 0;
    padding: clamp(24px, 5vw, 40px);
    border: 1px solid #e5d6ca;
    border-radius: 26px;
    background: #fffaf4;
    box-shadow: 0 18px 46px rgba(72, 48, 34, 0.08);
}

.sn-account-magic-login h2 {
    margin-top: 0;
}

.sn-account-magic-login__form {
    margin-top: 18px;
}

.sn-account-magic-login__form form {
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce-account .woocommerce-MyAccount-navigation a,
    .sn-account-card {
        transition: none;
    }
}
