/* ═══════════════════════════════════════════════════════════════════════
   MyANGELCAB — Konto-Bereich (Sektion 38)
   Wird nur auf der Konto-Seite geladen (inc/class-account.php,
   is_account_page()): statische Login-Seite (.ac-mya), Portal-Rahmen
   (.ac-acct), Endpunkte 38a–38g inkl. Service & Wartung.
   Die site-weiten Teile (Off-Canvas-Panel .ac-acc, Bausteine
   .ac-field/.ac-btn/.ac-check) bleiben in style.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   MyANGELCAB-Login-Seite (2026-08-24) — zweispaltig, ausgeloggter
   My-Account-Zustand. Template: woocommerce/myaccount/form-login.php.
   Feld-/Button-Bauteile (.ac-field/.ac-check/.ac-btn) siehe Login-Panel.
   ═══════════════════════════════════════════════════════════════════════ */

/* Parent-Theme-Layout der ausgeloggten Konto-Seite neutralisieren
   (konte/woocommerce.css: drei responsive width-Regeln [36,84 % / 50 % /
   max-width 500px], overflow:hidden sowie Float-Labels mit
   translateY(35px) auf form.login label). */
body.woocommerce-account-login .content-area .woocommerce {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
}
body.woocommerce-account-login .content-area .woocommerce h2 {
    text-align: left;
}
.woocommerce-account-login .ac-mya form label {
    transform: none !important;
    transition: none;
    /* relative statt static: Bezugsrahmen für das absolute Auge-Icon */
    position: relative;
    /* Parent setzt inline-block → Felder schrumpften auf Inhaltsbreite */
    display: block;
    width: 100%;
    font-size: inherit;
    color: inherit;
}
.woocommerce-account-login .ac-mya form label.ac-check {
    display: inline-flex;
    width: auto;
}
.ac-mya .label-master { margin-bottom: 10px; }

.ac-mya {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1160px;
    margin: 0 auto;
    min-height: 560px;
    font-family: "monument_grotesk", sans-serif;
    font-weight: 300;
    color: #000;
}

.ac-mya__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px;
}
.ac-mya__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8f8f;
    margin-bottom: 8px;
}
.ac-mya__title {
    font-family: 'SourceSerif4', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 28px;
}
.ac-mya__form .ac-field { margin: 0 0 12px; }
.ac-mya__form label { transform: none; }
.ac-mya__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 20px;
}
.ac-mya__lost {
    font-size: 13.5px;
    font-weight: 300;
    color: #8f8f8f !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ac-mya__switch-wrap { text-align: center; margin: 16px 0 0; }
.ac-mya__note {
    font-size: 13.5px;
    color: #8f8f8f;
    line-height: 1.5;
    margin: 4px 0 16px;
}

/* Vorteilskarte */
.ac-mya__card {
    background: #fff8c1;
    border-radius: 30px;
    margin: 24px;
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ac-mya__card-title {
    font-family: 'SourceSerif4', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 26px;
}
.ac-mya__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ac-mya__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
}
.ac-mya__benefits li .las {
    font-size: 20px;
    flex: 0 0 auto;
    margin-top: 1px;
}
.ac-mya__card .ac-mya__cta {
    width: auto;
    align-self: flex-start;
    padding: 12px 28px;
    margin-top: 30px;
}

/* Mobil: einspaltig, Karte unter dem Formular */
@media (max-width: 899px) {
    .ac-mya { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .ac-mya__left { padding: 32px 0 8px; }
    .ac-mya__card { margin: 24px 0; padding: 36px 28px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   MyANGELCAB-Portal (2026-08-24, Sektion 38) — Rahmen, Sidebar und
   Unterseiten des eingeloggten My-Account-Bereichs.
   Templates: woocommerce/myaccount/*.php · Helper: inc/account-helpers.php
   Bausteine .ac-field/.ac-check/.ac-btn siehe Login-Panel-Sektion.
   ═══════════════════════════════════════════════════════════════════════ */

.ac-acct {
    font-family: "monument_grotesk", sans-serif;
    font-weight: 300;
    color: #000;
}

/* ── Seitenkopf ── */
.ac-acct__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 36px;
}
/* Eyebrow im Seitenkopf nutzt die label-master-Pill des Themes */
.ac-acct__head-left .label-master { margin-bottom: 10px; }
.ac-acct__title {
    font-family: 'SourceSerif4', serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}
.ac-acct__chip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}
.ac-acct__chip-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 400;
}
.ac-acct__chip-name {
    display: block;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.3;
}
.ac-acct__chip-logout {
    font-size: 12.5px;
    font-weight: 300;
    color: #8f8f8f !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Grid + Parent-Resets ── */
.ac-acct__grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.ac-acct__grid .woocommerce-MyAccount-navigation,
.ac-acct__grid .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    border-bottom: none;
    overflow: visible;
}
/* Parent-Theme: Spiegelstrich (a:before) und Alt-Typo der Account-Nav aus */
.ac-acct .woocommerce-MyAccount-navigation a:before { display: none !important; content: none !important; }
.ac-acct .woocommerce-MyAccount-navigation ul { max-height: none; white-space: normal; }
.ac-acct .woocommerce-MyAccount-navigation li { margin-bottom: 0; }
.ac-acct .woocommerce-MyAccount-navigation li.is-active a {
    background: #fff;
    color: #000;
    border: 1.5px solid #000;
    border-radius: 10px;
    padding: 10.5px 13.5px;
}

/* ── Sidebar ── */
.ac-acct__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ac-acct__nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-weight: 300;
    color: #000;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: 10px;
    transition: background-color .15s ease;
}
.ac-acct__nav-item a:hover { background: #f5f3ef; }
.ac-acct__nav-item a .las { font-size: 18px; flex: 0 0 auto; }
.ac-acct__nav-item.is-active a {
    background: #fff;
    border-color: #000;
    font-weight: 400;
}
.ac-acct__nav-sep {
    height: 1px;
    background: rgba(0, 0, 0, .08);
    margin: 12px 14px;
}
.ac-acct__nav-item--logout a { color: #8f8f8f; }
.ac-acct__nav-item--logout a:hover { color: #000; }

/* ── Bausteine ── */
.ac-card {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
    padding: 22px 24px;
}
.ac-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.ac-card__top .las { font-size: 19px; }
.ac-card__eyebrow {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8f8f;
}
.ac-card__title {
    font-family: 'SourceSerif4', serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 6px;
}
.ac-card__meta {
    font-size: 13.5px;
    font-weight: 300;
    color: #333;
    margin: 0 0 12px;
    line-height: 1.5;
}
.ac-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #000 !important;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.ac-link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-link-arrow .las { font-size: 16px; }

.ac-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}
.ac-pill .las { font-size: 14px; }
.ac-pill--green { color: #2e7d43; border-color: #2e7d43; }
.ac-pill--gray  { color: #8f8f8f; border-color: #8f8f8f; }
.ac-pill--red   { color: #9b1c1c; border-color: #9b1c1c; }

.ac-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    padding: 16px 20px;
}
.ac-note > .las { font-size: 19px; margin-top: 2px; flex: 0 0 auto; color: #fff; }
/* Grüne Links sind auf Schwarz schlecht lesbar → weiß mit Unterstrich */
.ac-note .ac-link-arrow {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ac-note__text { flex: 1; }
.ac-note__text p { font-size: 13.5px; font-weight: 300; line-height: 1.5; margin: 0; }
.ac-note__title { font-weight: 400 !important; margin-bottom: 2px !important; }

/* ── 38a Übersicht ── */
.ac-dash { display: flex; flex-direction: column; gap: 20px; }
.ac-dash__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.ac-dash__benefit { align-items: center; }
.ac-dash__benefit-cta { width: auto; padding: 11px 22px; flex: 0 0 auto; }
.ac-dash__address {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
}
.ac-dash__address > .las { font-size: 19px; color: #8f8f8f; flex: 0 0 auto; }
.ac-dash__address-text { flex: 1; min-width: 0; }
.ac-dash__address-title { font-size: 14.5px; font-weight: 400; margin: 0 0 2px; }
.ac-dash__address-line { font-size: 13.5px; font-weight: 300; color: #333; margin: 0; }

/* ── 38b Wagen-Liste ── */
.ac-wagen-list { display: flex; flex-direction: column; gap: 24px; }
.ac-wagen {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    padding: 0;
    overflow: hidden;
}
.ac-wagen__media {
    background: #f2efe9;
    min-height: 320px;
    position: relative;
}
.ac-wagen__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ac-wagen__media--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #8f8f8f;
    font-size: 13px;
}
.ac-wagen__media--placeholder .las { font-size: 44px; }
.ac-wagen__body { padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.ac-wagen__headrow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.ac-wagen__title {
    font-family: 'SourceSerif4', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 4px;
}
.ac-wagen__order { font-size: 12.5px; color: #8f8f8f; margin: 0; }
.ac-wagen__config {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 6px;
}
.ac-wagen__config-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    font-size: 13.5px;
    line-height: 1.45;
}
.ac-wagen__config-label { color: #8f8f8f; font-weight: 300; }
.ac-wagen__config-value { font-weight: 400; text-align: right; }
.ac-wagen__shipped { font-size: 13.5px; color: #2e7d43; margin: 0; }
.ac-wagen__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-wagen__actions .ac-btn { width: auto; padding: 12px 24px; }
.ac-wagen__note { align-items: center; }
.ac-wagen__note .ac-link-arrow { flex: 0 0 auto; white-space: nowrap; }
.ac-wagen__empty p { font-size: 14.5px; margin: 0 0 10px; }

/* ── 38c Bestellungen ── */
.ac-orders { display: flex; flex-direction: column; gap: 8px; }
.ac-orders__head,
.ac-orders__row {
    display: grid;
    grid-template-columns: 130px 130px minmax(0, 1fr) 190px 110px;
    gap: 16px;
    align-items: center;
}
.ac-orders__head {
    padding: 0 20px 6px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8f8f;
}
.ac-orders__row { padding: 16px 20px; }
.ac-orders__number { font-size: 14.5px; font-weight: 400; }
.ac-orders__date { font-size: 13.5px; font-weight: 300; }
.ac-orders__status-text { font-size: 13.5px; font-weight: 300; }
.ac-orders__col-total,
.ac-orders__total { text-align: right; font-size: 13.5px; }
.ac-orders__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.ac-orders__view { width: auto; padding: 9px 20px; font-size: 13.5px; }
.ac-orders__action-link {
    font-size: 12.5px;
    color: #8f8f8f !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ac-orders__row--muted .ac-orders__total,
.ac-orders__row--muted .ac-orders__date { color: #8f8f8f; }
.ac-orders__pagination { display: flex; gap: 10px; margin-top: 20px; }
.ac-orders__pagination .ac-btn { width: auto; padding: 11px 22px; }
.ac-orders__empty p { font-size: 14.5px; margin: 0 0 10px; }

/* ── 38d Adressen ── */
.ac-addr { display: flex; flex-direction: column; gap: 20px; }
.ac-addr__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.ac-addr__address {
    font-style: normal;
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 14px;
}
.ac-addr__add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border: 1px dashed rgba(0, 0, 0, .25);
    border-radius: 10px;
    padding: 28px 24px;
    color: #000;
    text-decoration: none;
    transition: background-color .15s ease;
}
.ac-addr__add:hover { background: #faf9f7; }
.ac-addr__add .las { font-size: 26px; }
.ac-addr__add-title { font-size: 15px; font-weight: 400; }
.ac-addr__add-text { font-size: 13px; font-weight: 300; color: #8f8f8f; line-height: 1.5; max-width: 300px; }

/* ── 38d Konto-Einstellungen ── */
.ac-account-form { max-width: 720px; }
.ac-account-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ac-account-form__grid .ac-field { margin: 0 0 12px; }
.ac-account-form .ac-field { margin: 0 0 12px; }
.ac-account-form__password {
    display: block;
    position: relative;
    cursor: default;
}
.ac-account-form__password-dots { font-size: 15px; letter-spacing: 2px; }
.ac-account-form__password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.ac-account-form__newsletter { margin: 16px 0 20px; }
.ac-account-form__submit { margin: 0; }
.ac-account-form__save { width: auto; padding: 13px 28px; }

/* ── Service & Wartung (wartung-Endpoint) ── */
.ac-svc { display: flex; flex-direction: column; gap: 24px; }
.ac-note__strong { font-weight: 400; }
.ac-svc__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.ac-svc__card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ac-svc__media {
    height: 170px;
    background: #f2efe9;
}
.ac-svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ac-svc__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8f8f8f;
}
.ac-svc__media--placeholder .las { font-size: 34px; }
.ac-svc__body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ac-svc__title {
    font-family: 'SourceSerif4', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}
.ac-svc__desc {
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.ac-svc__details summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    list-style: none;
}
.ac-svc__details summary::-webkit-details-marker { display: none; }
.ac-svc__details summary .las { font-size: 15px; transition: transform .2s ease; }
.ac-svc__details[open] summary .las { transform: rotate(180deg); }
.ac-svc__details-body {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: #333;
    padding-top: 8px;
}
.ac-svc__details-body p { margin: 0 0 8px; }
.ac-svc__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.ac-svc__price-now { font-size: 19px; font-weight: 400; }
.ac-svc__price-was { font-size: 13.5px; color: #8f8f8f; text-decoration: line-through; }
.ac-svc__price-was .woocommerce-Price-amount { color: #8f8f8f; }
.ac-svc__price-save { font-size: 13.5px; color: #2e7d43; }
.ac-svc__price-save .woocommerce-Price-amount { color: #2e7d43; }
.ac-svc__cta { margin-top: 2px; }
.ac-svc__ask {
    border: 1px dashed rgba(0, 0, 0, .25);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 28px 24px;
}
.ac-svc__ask > .las { font-size: 26px; color: #8f8f8f; }
.ac-svc__ask-title { font-size: 15px; font-weight: 400; }
.ac-svc__ask-text { font-size: 13px; font-weight: 300; color: #8f8f8f; line-height: 1.5; max-width: 260px; }
.ac-svc__shipnote {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
}
.ac-svc__shipnote > .las { font-size: 20px; margin-top: 2px; flex: 0 0 auto; }
.ac-svc__shipnote-title { font-size: 14.5px; font-weight: 400; margin: 0 0 4px; }
.ac-svc__shipnote-text { font-size: 13.5px; font-weight: 300; line-height: 1.55; color: #333; margin: 0; }
.ac-svc__notqualified p { font-size: 14.5px; margin: 0 0 10px; }

/* ── Responsive ── */
@media (max-width: 899px) {
    .ac-acct__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ac-svc__grid { grid-template-columns: minmax(0, 1fr); }
    .ac-acct__nav-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        padding-bottom: 4px;
    }
    .ac-acct__nav-list::-webkit-scrollbar { display: none; }
    .ac-acct__nav-item a { white-space: nowrap; padding: 9px 14px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 30px; }
    .ac-acct__nav-item.is-active a { border: 1.5px solid #000; }
    .ac-acct__nav-sep,
    .ac-acct__nav-list--secondary { display: none; }

    .ac-acct__head { flex-direction: column; }
    .ac-acct__title { font-size: 27px; }

    .ac-dash__cards { grid-template-columns: minmax(0, 1fr); }
    .ac-dash__benefit { flex-wrap: wrap; }

    .ac-wagen { grid-template-columns: minmax(0, 1fr); }
    .ac-wagen__media { min-height: 220px; }
    .ac-wagen__config { grid-template-columns: minmax(0, 1fr); }
    .ac-wagen__headrow { flex-direction: column; }

    .ac-orders__head { display: none; }
    .ac-orders__row {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 6px;
    }
    .ac-orders__total { text-align: left; }
    .ac-orders__actions { align-items: flex-start; grid-column: 1 / -1; flex-direction: row; }

    .ac-addr__grid { grid-template-columns: minmax(0, 1fr); }
    .ac-account-form__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ── 38f Bestellung (Detail) ── */
.ac-ord { display: flex; flex-direction: column; gap: 24px; }

.ac-ord__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ac-ord__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #000 !important;
    text-decoration: none;
}
.ac-ord__back .las { font-size: 16px; }
.ac-ord__back:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ac-ord__meta-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
}
.ac-ord__meta-date { font-weight: 300; }
.ac-ord__meta-status { font-weight: 400; }

.ac-ord__card {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
}
.ac-ord__card-head {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px 12px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8f8f;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.ac-ord__items { border-bottom: 1px solid rgba(0, 0, 0, .08); }
.ac-ord__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
}
.ac-ord__item + .ac-ord__item { border-top: 1px solid rgba(0, 0, 0, .06); }
.ac-ord__thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #f2efe9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ac-ord__thumb .las { font-size: 22px; color: #8f8f8f; }
.ac-ord__thumb img.ac-ord__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.ac-ord__item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ac-ord__item-name { font-size: 14.5px; font-weight: 400; }
.ac-ord__item-qty { font-size: 13px; font-weight: 300; color: #8f8f8f; }
.ac-ord__item-meta { font-size: 12.5px; font-weight: 300; color: #8f8f8f; }
.ac-ord__item-meta .variation { margin: 4px 0 0; display: block; }
.ac-ord__item-meta .variation dt,
.ac-ord__item-meta .variation dd { display: inline; margin: 0; font-weight: 300; }
.ac-ord__item-meta .variation dd p { display: inline; margin: 0; }
.ac-ord__item-total { font-size: 14.5px; text-align: right; white-space: nowrap; }

.ac-ord__totals {
    padding: 16px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ac-ord__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-size: 13.5px;
}
.ac-ord__total-label { font-weight: 300; color: #8f8f8f; }
.ac-ord__total-value { text-align: right; }
.ac-ord__total-row--grand {
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding-top: 12px;
    margin-top: 6px;
    font-size: 17px;
}
.ac-ord__total-row--grand .ac-ord__total-label { color: #000; font-weight: 400; }
.ac-ord__total-row--grand .ac-ord__total-value { font-weight: 400; }

.ac-ord__hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8c1;
    border-radius: 10px;
    padding: 16px 20px;
}
.ac-ord__hint .las { font-size: 18px; flex: 0 0 auto; margin-top: 2px; }
.ac-ord__hint p { margin: 0; font-size: 13.5px; font-weight: 300; line-height: 1.6; }

.ac-ord__addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.ac-ord__addr {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
}
.ac-ord__addr-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.ac-ord__addr-top .las { font-size: 19px; color: #8f8f8f; }
.ac-ord__addr-eyebrow {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8f8f;
}
.ac-ord__addr-lines {
    font-style: normal;
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
}
.ac-ord__addr-contact {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13.5px;
    font-weight: 300;
    color: #8f8f8f;
}
.ac-ord__addr-note {
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 300;
    color: #8f8f8f;
}

.ac-ord__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ac-ord__action {
    width: auto;
    padding: 12px 24px;
    display: inline-flex;
    gap: 8px;
    font-size: 14px;
}
.ac-ord__action .las { font-size: 17px; }

@media (max-width: 900px) {
    .ac-ord__meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .ac-ord__card-head { padding: 14px 16px 10px; }
    .ac-ord__item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
    .ac-ord__thumb { width: 44px; height: 44px; }
    .ac-ord__totals { padding: 14px 16px 18px; }
    .ac-ord__addresses { grid-template-columns: minmax(0, 1fr); }
    .ac-ord__actions { flex-direction: column; align-items: stretch; }
    .ac-ord__action { justify-content: center; }
}

/* ── 38 Mobile-Nav: Pills bündig, einheitlicher Radius, Swipe-Hinweis ── */
@media (max-width: 899px) {
    /* Parent-Theme gibt den li auf mobile inline-block + margin 0 15px —
       das riss die Pills auseinander. */
    .ac-acct .woocommerce-MyAccount-navigation li {
        display: block;
        margin: 0;
    }

    /* Einheitlicher Pill-Radius: der Desktop-Neutralisierer (Radius 10 für
       is-active) darf auf mobile nicht durchschlagen. */
    .ac-acct__nav-item a,
    .ac-acct .woocommerce-MyAccount-navigation li.is-active a {
        padding: 9px 16px;
        border-radius: 30px;
    }
    .ac-acct .woocommerce-MyAccount-navigation li.is-active a { border-width: 1.5px; }

    /* Swipe-Hinweis: Pills laufen rechts unter einem Weiß-Verlauf aus. */
    .ac-acct__nav { position: relative; min-width: 0; }
    .ac-acct__nav::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 4px;
        width: 40px;
        background: linear-gradient(to left, #fff 20%, rgba(255, 255, 255, 0));
        pointer-events: none;
    }
    .ac-acct__nav-list { padding-right: 40px; }
}

/* ── 38g Adresse bearbeiten ── */
.ac-addredit {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
}
.ac-addredit__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 400;
    color: #000 !important;
    text-decoration: none;
}
.ac-addredit__back .las { font-size: 16px; }
.ac-addredit__back:hover span { text-decoration: underline; text-underline-offset: 3px; }

.ac-addredit__hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8c1;
    border-radius: 10px;
    padding: 16px 20px;
}
.ac-addredit__hint .las { font-size: 18px; flex: 0 0 auto; margin-top: 2px; }
.ac-addredit__hint p { margin: 0; font-size: 13.5px; font-weight: 300; line-height: 1.6; }

/* Formular-Grid: volle Breite als Standard, .ac-half halbbreit nebeneinander */
.ac-addredit .ac-addredit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ac-addredit .form-row {
    grid-column: span 2;
    float: none;
    width: auto;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ac-addredit .form-row.ac-half { grid-column: span 1; }
.ac-addredit .form-row:focus-within { border-color: #000; }

/* Label innen als Eyebrow. flex-basis:auto ist Pflicht: das Parent-Theme
   setzt label{flex-basis:195px} für sein Zeilen-Layout — in unserer
   Flex-Spalte würde daraus eine 195px hohe Label-Box. */
.ac-addredit .form-row label {
    display: block;
    position: static;
    transform: none !important;
    flex: 0 0 auto;
    flex-basis: auto;
    width: auto;
    height: auto;
    margin: 0 0 2px;
    font-size: 10.5px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8f8f8f;
    line-height: 1.3;
}
.ac-addredit .form-row label abbr.required {
    color: #8f8f8f;
    text-decoration: none;
    border: none;
}
/* Parent setzt flex:1 auf Wrapper/Input/Select2 — in der Spalte neutralisieren */
.ac-addredit .woocommerce-input-wrapper {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: 100%;
}
.ac-addredit .form-row .input-text,
.ac-addredit .form-row .select2-container { flex: 0 0 auto; }

/* Eingaben ohne eigenen Rahmen — der Rahmen ist die Karte */
.ac-addredit .form-row .input-text,
.ac-addredit .form-row select {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: 24px;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
    font-family: "monument_grotesk", sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #000;
    line-height: 1.45;
}
/* Selects widersetzen sich height:auto hartnäckiger (Parent: select{height:60px;
   min-width:280px}) — deshalb zusätzlich hart kappen. */
.ac-addredit .form-row select {
    height: 24px !important;
    max-height: 24px !important;
    line-height: 24px;
}
.ac-addredit .form-row .input-text:-webkit-autofill,
.ac-addredit .form-row .input-text:-webkit-autofill:hover,
.ac-addredit .form-row .input-text:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 60px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
}

/* Selects: natives Dropdown mit grauem Chevron rechts */
.ac-addredit .form-row select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 28px !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238f8f8f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 14px 9px !important;
    cursor: pointer;
}
/* Falls selectWoo/select2 aktiv ist: Rahmenlos in die Karte einpassen */
.ac-addredit .select2-container { width: 100% !important; }
.ac-addredit .select2-container .select2-selection--single {
    height: 24px !important;
    min-height: 0;
    border: none;
    background: transparent;
}
.ac-addredit .select2-container .select2-selection__rendered {
    padding: 0 28px 0 0;
    font-size: 15px;
    font-weight: 300;
    color: #000;
    line-height: 24px;
}
.ac-addredit .select2-container .select2-selection__arrow { top: 0; right: 0; height: 100%; }

/* Bundesland ohne Auswahlmöglichkeiten: leere Karte ausblenden */
.ac-addredit .form-row:has(input.hidden) { display: none; }

/* Validierung: rote Umrandung + Fehlertext im Feld */
.ac-addredit .form-row.ac-invalid { border-color: #9b1c1c; }
.ac-addredit__error {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 300;
    color: #9b1c1c;
}

.ac-addredit__req {
    margin: 4px 0 0;
    font-size: 12.5px;
    font-weight: 300;
    color: #8f8f8f;
}
.ac-addredit__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.ac-addredit__actions .ac-btn {
    width: auto;
    padding: 13px 28px;
    font-size: 14.5px;
    text-transform: none;
}

@media (max-width: 640px) {
    .ac-addredit .ac-addredit__grid { grid-template-columns: minmax(0, 1fr); }
    .ac-addredit .form-row,
    .ac-addredit .form-row.ac-half { grid-column: span 1; }
    .ac-addredit__actions { flex-direction: column; align-items: stretch; }
}

/* ── Übersee-Zustellhinweis (Bestellliste) ── */
.ac-orders__overseas-note { margin-bottom: 20px; }

/* Übersee-Hinweis: dunkelrot statt schwarz (Texte/Icons bleiben weiß) */
.ac-note.ac-note--overseas { background: #7a1a1a; }
