/* PPS Gehirn v3.4.2 - Premium Floating Dock */

/* Main Dock Container – Immer rechts unten fixiert */
.pps-gehirn-floating-dock {
    position: fixed;
    right: 18px;
    left: auto;
    bottom: 18px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    z-index: 99999;
    pointer-events: none;
    align-items: flex-end;
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    overflow: visible;
    box-sizing: border-box;
}

.pps-gehirn-floating-dock > * {
    pointer-events: auto;
}

/* ── Advisor Slot ──────────────────────────────────────────────────── */
.pps-advisor-slot {
    box-sizing: border-box;
    /* Slot hat KEINE flex-column mehr – nur die Badge ist sichtbar */
    display: block;
    width: auto;
}

/* ── Advisor Badge: kompakte horizontale Card, feste Dimensionen ─── */
.pps-advisor-badge {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    align-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10,18,34,0.92) 0%, rgba(30,60,100,0.85) 100%);
    border: 1px solid rgba(95,211,255,0.22);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    padding: 10px 14px;
    width: 300px;
    max-width: 340px;
    min-width: 260px;
    max-height: 120px;
    overflow: hidden;
    color: #ffffff;
    font-family: Inter, system-ui, sans-serif;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box;
    /* Kein vertikaler Text */
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.pps-advisor-badge:hover {
    background: linear-gradient(135deg, rgba(10,18,34,0.96) 0%, rgba(40,70,120,0.90) 100%);
    border-color: rgba(95,211,255,0.35);
    box-shadow: 0 12px 48px rgba(0,0,0,0.45);
    transform: translateY(-2px);
}

/* ── Avatar: rund, fest, nie gestreckt ──────────────────────────── */
.pps-advisor-avatar {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
    overflow: hidden;
    position: relative;
    writing-mode: horizontal-tb !important;
}

.pps-advisor-avatar img,
.pps-advisor-avatar img.pps-advisor-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
}

.pps-advisor-avatar.pps-advisor-maxbone img,
.pps-advisor-avatar.pps-advisor-maxbone img.pps-advisor-avatar-img {
    object-position: center 42%;
}

.pps-advisor-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pps-advisor-avatar.pps-advisor-chidiamond {
    background: linear-gradient(135deg, #5FD3FF 0%, #3A9DFF 100%);
    border: 2px solid rgba(95,211,255,0.4);
}
.pps-advisor-avatar.pps-advisor-maxbone {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4444 100%);
    border: 2px solid rgba(255,107,107,0.4);
}
.pps-advisor-avatar.pps-advisor-neutral {
    background: rgba(95,211,255,0.1);
    border: 2px solid rgba(95,211,255,0.2);
}

/* ── Advisor Info: Text-Spalte, kein overflow ───────────────────── */
.pps-advisor-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.pps-advisor-name {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    writing-mode: horizontal-tb !important;
}

.pps-advisor-sub {
    font-size: 0.72rem;
    opacity: 0.75;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    writing-mode: horizontal-tb !important;
}

.pps-advisor-copy {
    font-size: 0.74rem;
    opacity: 0.85;
    line-height: 1.3;
    margin-top: 2px;
    color: #E1F5FF;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    writing-mode: horizontal-tb !important;
}

.pps-advisor-hint {
    font-size: 0.70rem;
    opacity: 0.65;
    line-height: 1.2;
    color: #B8DFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    writing-mode: horizontal-tb !important;
}

/* Kein pps-dog-use-panel im Dock – komplett ausblenden wenn doch vorhanden */
.pps-advisor-slot .pps-dog-use-panel { display: none !important; }

/* Cart Slot - OneCart Container */
.pps-cart-slot {
    box-sizing: border-box;
}

.pps-cart-shell {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10, 18, 34, 0.92) 0%, rgba(30, 60, 100, 0.85) 100%);
    border: 1px solid rgba(95, 211, 255, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    padding: 12px 14px;
    width: 280px;
    max-width: calc(100vw - 36px);
    color: #ffffff;
    font-family: Inter, system-ui, sans-serif;
    transition: all 240ms ease;
    backdrop-filter: blur(8px);
}

.pps-cart-shell:hover {
    background: linear-gradient(135deg, rgba(10, 18, 34, 0.96) 0%, rgba(40, 70, 120, 0.90) 100%);
    border-color: rgba(95, 211, 255, 0.35);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.pps-cart-slot.is-open .pps-cart-shell {
    max-height: 400px;
    overflow-y: auto;
}

.pps-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pps-cart-label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pps-cart-count {
    background: rgba(95, 211, 255, 0.2);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pps-cart-list {
    min-height: 20px;
    margin-bottom: 8px;
    display: none;
}

.pps-cart-slot.is-open .pps-cart-list {
    display: block;
}

.pps-cart-empty {
    font-size: 0.85rem;
    opacity: 0.7;
    text-align: center;
    padding: 8px 0;
}

.pps-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(95, 211, 255, 0.1);
}

.pps-cart-item:last-of-type {
    border-bottom: none;
}

.pps-cart-item-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pps-cart-item-price {
    color: #5FD3FF;
    font-weight: 700;
    font-size: 0.9rem;
}

.pps-cart-remove {
    background: rgba(255, 107, 107, 0.15);
    color: #FF6B6B;
    border: none;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 180ms ease;
    font-weight: 700;
    font-size: 0.9rem;
}

.pps-cart-remove:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: scale(1.1);
}

.pps-cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(95, 211, 255, 0.15);
    font-size: 0.9rem;
    font-weight: 700;
    color: #5FD3FF;
}

.pps-cart-action {
    width: 100%;
    padding: 8px 12px;
    margin-top: 8px;
    background: rgba(95, 211, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(95, 211, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 180ms ease;
}

.pps-cart-action:hover {
    background: rgba(95, 211, 255, 0.25);
    border-color: rgba(95, 211, 255, 0.5);
    transform: translateY(-1px);
}

.pps-cart-cta {
    width: 100%;
    padding: 10px 12px;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.22) 0%, rgba(0, 147, 255, 0.18) 100%);
    color: #ffffff;
    border: 1px solid rgba(95, 211, 255, 0.35);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 180ms ease;
}

.pps-cart-cta:hover {
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.35) 0%, rgba(0, 147, 255, 0.28) 100%);
    transform: translateY(-1px);
}

/* Active Choice Styling */
.pps-choice-active {
    outline: 2px solid rgba(95, 211, 255, 0.5);
    outline-offset: 2px;
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .pps-gehirn-floating-dock {
        flex-direction: column;
        gap: 8px;
        right: 10px;
        bottom: 10px;
    }

    .pps-advisor-badge {
        min-width: auto;
        max-width: calc(100vw - 20px);
    }

    .pps-cart-shell {
        width: calc(100vw - 20px);
    }
}

.pps-gehirn-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ─── Floating Dock Layout ───────────────────────────────── */
.pps-advisor-slot,
.pps-cart-slot {
    flex-shrink: 0;
}

/* Advisor-Slot als Spalte: Badge oben, Dog-Use-Panel darunter */
.pps-advisor-slot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

/* Copy-Text: max. 2 Zeilen, dann Ellipsis */
.pps-advisor-copy {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Hundebild im Avatar ────────────────────────────────── */
/*
 * Floating Advisor ist READ-ONLY.
 * Kein cursor:pointer, kein Kamera-Icon beim Hover.
 * Upload und Verwaltung erfolgen im Upload-Bereich auf der Seite.
 */

/* .pps-advisor-avatar: cursor bleibt default (kein pointer) */

/*
 * Standard: Hundebild als kleines Badge unten rechts am Avatar.
 * Gilt bei aktivem Begleiter (ChiDiamond / MaxBone):
 * Advisor-Foto bleibt Hauptbild, Hundebild erscheint als Thumbnail.
 */
.pps-dog-thumb {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(10, 18, 34, 0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    z-index: 2;
    display: block;
    pointer-events: none;
}

/*
 * Neutraler Modus (kein Begleiter) + Hundebild vorhanden:
 * Hundebild füllt den Avatar vollflächig als Hauptbild.
 */
.pps-advisor-neutral.has-dog-image .pps-dog-thumb {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    box-shadow: none;
    z-index: 1;
}

/* Wenn Hund-Bild aktiv (neutraler Modus): Fallback-Initials in die Ecke schieben */
.pps-advisor-avatar.pps-advisor-neutral.has-dog-image .pps-advisor-avatar-fallback {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    font-size: 0.5rem;
    border-radius: 50%;
    background: rgba(10, 18, 34, 0.9);
    border: 1.5px solid rgba(95, 211, 255, 0.5);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Kamera-Icon und ✕-Hover entfernt: Avatar ist read-only.
 * Upload und Bildverwaltung erfolgen im Upload-Bereich auf der Seite. */

/* ─── PPS Premium Produktkarten ────────────────────────────── */
.pps-products-container {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0;
}

.pps-products-title {
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    opacity: 0.9;
}

.pps-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
}

.pps-products-empty {
    text-align: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.5);
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.85rem;
    background: rgba(10, 18, 34, 0.6);
    border-radius: 12px;
    border: 1px dashed rgba(95, 211, 255, 0.2);
}

.pps-products-empty code {
    background: rgba(95, 211, 255, 0.12);
    border-radius: 4px;
    padding: 1px 5px;
    color: #5fd3ff;
    font-size: 0.82rem;
}

/* Debug-Block: sichtbar wenn keine Produkte – hilft bei Kurzcode-Diagnose */
.pps-products-debug {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(95, 211, 255, 0.15);
    border-radius: 8px;
    color: rgba(95, 211, 255, 0.55);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.72rem;
    line-height: 1.6;
    white-space: pre;
    text-align: left;
}

/* Einzelne Karte */
.pps-product-card {
    background: linear-gradient(150deg, rgba(10, 18, 34, 0.97) 0%, rgba(18, 38, 72, 0.93) 100%);
    border: 1px solid rgba(95, 211, 255, 0.16);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.pps-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 18px rgba(95, 211, 255, 0.1);
    border-color: rgba(95, 211, 255, 0.32);
}

/* Bild-Bereich */
.pps-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(8, 15, 30, 0.8);
    overflow: hidden;
    flex-shrink: 0;
}

.pps-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 200ms ease;
}

.pps-card-image-wrap.pps-img-error .pps-card-image {
    display: none;
}
.pps-card-image-wrap.pps-img-error::after {
    content: '🐾';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    opacity: 0.3;
}

.pps-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    opacity: 0.28;
}

/* Match-Score Badge */
.pps-card-score {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.pps-score-high {
    background: rgba(0, 220, 130, 0.2);
    border: 1px solid rgba(0, 220, 130, 0.5);
    color: #00dc82;
}

.pps-score-mid {
    background: rgba(95, 211, 255, 0.18);
    border: 1px solid rgba(95, 211, 255, 0.4);
    color: #5fd3ff;
}

.pps-score-low {
    background: rgba(255, 200, 0, 0.13);
    border: 1px solid rgba(255, 200, 0, 0.35);
    color: #ffc800;
}

/* Card Body */
.pps-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.pps-card-merchant {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5fd3ff;
    opacity: 0.75;
}

.pps-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pps-card-desc {
    font-size: 0.73rem;
    color: #c0dcf5;
    opacity: 0.72;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pps-card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #5fd3ff;
    margin-top: 4px;
}

.pps-card-price.pps-price-empty {
    font-size: 0.78rem;
    font-weight: 400;
    color: #90b8d8;
    opacity: 0.8;
}

/* Action-Buttons */
.pps-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.pps-card-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 180ms ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    border: 1px solid transparent;
    line-height: 1;
    font-family: inherit;
    white-space: nowrap;
}

.pps-btn-wishlist {
    background: rgba(95, 211, 255, 0.08);
    color: #5fd3ff;
    border-color: rgba(95, 211, 255, 0.22);
}

.pps-btn-wishlist:hover {
    background: rgba(95, 211, 255, 0.18);
    border-color: rgba(95, 211, 255, 0.42);
}

.pps-btn-wishlisted,
.pps-btn-wishlist.pps-btn-active {
    background: rgba(95, 211, 255, 0.2);
    color: #fff;
    border-color: rgba(95, 211, 255, 0.48);
}

.pps-btn-shop {
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.2), rgba(0, 147, 255, 0.15));
    color: #fff;
    border-color: rgba(95, 211, 255, 0.32);
}

.pps-btn-shop:hover {
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.32), rgba(0, 147, 255, 0.25));
    border-color: rgba(95, 211, 255, 0.52);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 600px) {
    .pps-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .pps-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Personal Dog Advisor Avatar ───────────────────────── */
.pps-advisor-avatar.pps-advisor-personal-dog {
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.12) 0%, rgba(0, 80, 200, 0.12) 100%);
    border: 2px solid rgba(95, 211, 255, 0.5);
    box-shadow: 0 0 12px rgba(95, 211, 255, 0.18);
}

.pps-advisor-avatar.pps-advisor-personal-dog.has-dog-image {
    border-color: rgba(95, 211, 255, 0.65);
    box-shadow: 0 0 16px rgba(95, 211, 255, 0.28);
}

/* Hundebild im personaldog-Avatar: mittig zentriert (kein portrait-top wie bei Humans) */
.pps-advisor-avatar.pps-advisor-personal-dog img.pps-advisor-avatar-img {
    object-position: center center;
    object-fit: cover;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: block;
}

/* ─── Dog-Use-Panel (eigener Slot unterhalb des Advisor-Badges) ── */
.pps-dog-use-panel {
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.13) 0%, rgba(0, 100, 220, 0.10) 100%);
    border: 1px solid rgba(95, 211, 255, 0.32);
    padding: 8px 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box;
    min-width: 220px;
    width: 100%;
}

/* ─── "Meinen Hund als Begleiter nutzen" Button ─────────── */
.pps-dog-use-btn {
    display: block;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    color: #5FD3FF;
    border: none;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 160ms ease, opacity 160ms ease;
    white-space: normal;
    word-break: break-word;
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 0.01em;
}

.pps-dog-use-btn:hover {
    color: #ffffff;
    opacity: 0.95;
}

/* Aktiv-Zustand: personaldog ist bereits ausgewählt */
.pps-dog-use-btn.pps-dog-use-btn-active {
    color: #00dc82;
    cursor: default;
    opacity: 1;
}

.pps-dog-use-btn.pps-dog-use-btn-active:hover {
    color: #00dc82;
    opacity: 1;
}

/* Button im Advisor-Badge (direkt eingebettet) */
.pps-advisor-badge .pps-dog-use-btn {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 7px 10px;
    background: rgba(95, 211, 255, 0.14);
    border: 1px solid rgba(95, 211, 255, 0.35);
    border-radius: 10px;
    font-size: 0.78rem;
    color: #5FD3FF;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
}

.pps-advisor-badge .pps-dog-use-btn:hover {
    background: rgba(95, 211, 255, 0.25);
    color: #ffffff;
}

.pps-advisor-badge .pps-dog-use-btn-active {
    background: rgba(0, 220, 130, 0.10);
    border-color: rgba(0, 220, 130, 0.35);
    color: #00dc82;
    cursor: default;
}

.pps-advisor-badge .pps-dog-use-btn-active:hover {
    background: rgba(0, 220, 130, 0.10);
    color: #00dc82;
}

/* Wenn der Button DIREKT auf der Seite (kein Panel-Wrapper) erscheint */
:not(.pps-dog-use-panel):not(.pps-advisor-badge) > .pps-dog-use-btn {
    margin-top: 10px;
    padding: 8px 14px;
    background: rgba(95, 211, 255, 0.12);
    border: 1px solid rgba(95, 211, 255, 0.3);
    border-radius: 10px;
}

/* ─── Hundeprofil-Button (nach Dog-Upload) ───────────────────────────────── */
/* Erscheint im Upload-Bereich auf der Seite direkt unter dem Dog-Use-Button */
.pps-dog-profile-btn {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    font-size: 0.79rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
    white-space: normal;
    word-break: break-word;
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 0.01em;
}
.pps-dog-profile-btn:hover {
    background: rgba(95, 211, 255, 0.15);
    color: #5FD3FF;
    border-color: rgba(95, 211, 255, 0.35);
}

/* ─── Wishlist Modal ─────────────────────────────────────── */
.pps-wishlist-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(5, 10, 25, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 220ms ease;
}

.pps-wishlist-modal-overlay.is-open {
    opacity: 1;
}

.pps-wishlist-modal-panel {
    background: linear-gradient(150deg, rgba(10, 18, 34, 0.98) 0%, rgba(18, 38, 72, 0.96) 100%);
    border: 1px solid rgba(95, 211, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Inter, system-ui, sans-serif;
    color: #fff;
    transform: translateY(16px);
    transition: transform 220ms ease;
}

.pps-wishlist-modal-overlay.is-open .pps-wishlist-modal-panel {
    transform: translateY(0);
}

.pps-wishlist-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(95, 211, 255, 0.15);
    flex-shrink: 0;
}

.pps-wishlist-modal-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.pps-wishlist-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 160ms ease;
    flex-shrink: 0;
}

.pps-wishlist-modal-close:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.35);
}

.pps-wishlist-modal-list {
    padding: 12px 20px;
    overflow-y: auto;
    flex: 1;
}

.pps-wishlist-modal-empty {
    text-align: center;
    padding: 32px 0;
    font-size: 0.9rem;
    opacity: 0.6;
}

.pps-wishlist-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(95, 211, 255, 0.1);
}

.pps-wishlist-modal-item:last-child {
    border-bottom: none;
}

/* Produktbild im Modal */
.pps-wishlist-modal-img-wrap {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(8, 15, 30, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pps-wishlist-modal-img-empty {
    font-size: 1.4rem;
    opacity: 0.3;
}

.pps-wishlist-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pps-wishlist-modal-info {
    flex: 1;
    min-width: 0;
}

.pps-wishlist-modal-item-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pps-wishlist-modal-item-price {
    font-size: 0.8rem;
    color: #5FD3FF;
    margin-top: 2px;
}

.pps-wishlist-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pps-wishlist-modal-shop {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.18), rgba(0, 147, 255, 0.12));
    color: #fff;
    border: 1px solid rgba(95, 211, 255, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 160ms ease;
    white-space: nowrap;
    display: inline-block;
}

.pps-wishlist-modal-shop:hover {
    background: linear-gradient(135deg, rgba(95, 211, 255, 0.3), rgba(0, 147, 255, 0.22));
    border-color: rgba(95, 211, 255, 0.5);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.pps-wishlist-modal-remove {
    background: rgba(255, 107, 107, 0.12);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.25);
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 160ms ease;
    flex-shrink: 0;
}

.pps-wishlist-modal-remove:hover {
    background: rgba(255, 107, 107, 0.28);
    border-color: rgba(255, 107, 107, 0.5);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .pps-wishlist-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .pps-wishlist-modal-panel {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }
}

