/* project-root/public/shop/assets/css/wunschliste.css */

.wishlist-page-section {
    padding-top: 40px;
}

.wishlist-page-head {
    margin-bottom: 26px;
}

.wishlist-modern-list {
    display: grid;
    gap: 20px;
}

.wishlist-modern-card {
    background: #fff;
    border: 1px solid #d7d7db;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 18px 22px 0;
    overflow: hidden;
}

.wishlist-modern-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.wishlist-modern-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}

.wishlist-modern-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 12px;
    border: 1px solid #ef4444;
    border-radius: 999px;
    background: #fff;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.wishlist-modern-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wishlist-inline-form,
.wishlist-top-cart-form,
.wishlist-remove-form {
    display: flex;
    margin: 0;
}

.wishlist-icon-button,
.wishlist-cart-icon-button {
    border: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-icon-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: 1px solid #d4d4d8;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.wishlist-icon-button:hover {
    border-color: #111827;
    color: #111827;
    transform: translateY(-1px);
}

.wishlist-share-button.is-success {
    border-color: #15803d;
    color: #15803d;
    background: #f0fdf4;
}

.wishlist-remove-button:hover {
    border-color: #b91c1c;
    color: #b91c1c;
}

.wishlist-cart-icon-button {
    width: 78px;
    min-width: 78px;
    height: 48px;
    border-radius: 12px;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.wishlist-cart-icon-button:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.wishlist-modern-title {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    color: #111827;
}

.wishlist-modern-title a:hover {
    color: #b91c1c;
}

.wishlist-modern-main {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) minmax(220px, 280px);
    gap: 28px;
    align-items: center;
    padding-bottom: 20px;
}

.wishlist-modern-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-modern-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
}

.wishlist-modern-image {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 220px;
    height: auto;
    object-fit: contain;
}

.wishlist-modern-image-placeholder {
    width: 100%;
    min-height: 220px;
    border-radius: 12px;
    background: linear-gradient(180deg, #d7dbe0 0%, #f1f3f5 65%, #c5cad1 100%);
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 18px;
}

.wishlist-modern-info {
    display: grid;
    gap: 16px;
    align-content: center;
    min-width: 0;
}

.wishlist-modern-availability {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.wishlist-availability-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 240px;
}

.wishlist-availability-dot {
    width: 9px;
    min-width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16a34a;
    margin-top: 6px;
}

.wishlist-availability-text {
    display: grid;
    gap: 3px;
}

.wishlist-availability-text strong {
    font-size: 15px;
    line-height: 1.2;
    color: #111827;
}

.wishlist-availability-text span {
    font-size: 14px;
    line-height: 1.35;
    color: #52525b;
}

.wishlist-modern-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #52525b;
    font-size: 14px;
    font-weight: 700;
}

.wishlist-modern-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wishlist-modern-meta span:not(:last-child)::after {
    content: "•";
    color: #a1a1aa;
}

.wishlist-modern-description {
    margin: 0;
    color: #52525b;
    line-height: 1.6;
}

.wishlist-modern-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wishlist-modern-features span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f4f4f5;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #3f3f46;
}

.wishlist-modern-pricebox {
    display: grid;
    gap: 8px;
    align-content: center;
    justify-items: start;
    min-width: 0;
}

.wishlist-modern-uvp-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wishlist-modern-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.wishlist-modern-uvp-label {
    font-size: 14px;
    color: #374151;
}

.wishlist-modern-uvp-price {
    font-size: 14px;
    color: #4b5563;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.wishlist-modern-price {
    font-size: 42px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wishlist-modern-tax {
    font-size: 14px;
    color: #111827;
    text-decoration: underline;
}

.wishlist-modern-footer {
    border-top: 1px solid #ececef;
    padding: 14px 0 16px;
    color: #52525b;
    font-size: 14px;
    line-height: 1.3;
}

.wishlist-icon-button:focus-visible,
.wishlist-cart-icon-button:focus-visible {
    outline: 3px solid rgba(214, 31, 38, 0.24);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .wishlist-modern-main {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .wishlist-modern-pricebox {
        grid-column: 1 / -1;
        border-top: 1px solid #ececef;
        padding-top: 18px;
    }
}

@media (max-width: 760px) {
    .wishlist-modern-card {
        padding: 16px 16px 0;
    }

    .wishlist-modern-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .wishlist-modern-topbar-left {
        min-height: 0;
    }

    .wishlist-modern-topbar-actions {
        justify-content: flex-start;
    }

    .wishlist-modern-main {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wishlist-modern-image-box,
    .wishlist-modern-image-placeholder {
        min-height: 200px;
    }

    .wishlist-modern-image {
        max-width: 200px;
        max-height: 200px;
    }

    .wishlist-modern-availability {
        gap: 14px;
    }

    .wishlist-availability-item {
        min-width: 0;
        width: 100%;
    }

    .wishlist-modern-price {
        font-size: 34px;
    }

    .wishlist-cart-icon-button {
        width: 64px;
        min-width: 64px;
    }
}