/* =============================================================================
   wishlist.css
   Styles for the side-wishlist offcanvas panel.
   Loaded via wishlistpage.blade.php which is @included in header.blade.php.
============================================================================= */

.wishlist-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.wishlist-item:hover { background: #f9f9f9; }

.wishlist-item__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.wishlist-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wishlist-item__title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wishlist-item__title:hover { color: var(--brand-dark); }

.wishlist-item__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
}

.wishlist-item__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.btn-wishlist-cart {
    flex: 1;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}
.btn-wishlist-cart:hover        { background: #005229; transform: translateY(-1px); color: #fff; }
.btn-wishlist-cart.in-cart      { background: var(--brand-tint-light); color: var(--brand-dark); border: 1px solid var(--brand-muted-border); }
.btn-wishlist-cart.in-cart:hover { background: var(--brand-tint-pale); transform: none; }

.btn-wishlist-remove {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid var(--brand-danger-light);
    background: var(--brand-danger-pale);
    color: var(--brand-danger);
    border-radius: 6px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.btn-wishlist-remove:hover { background: var(--brand-danger-light); border-color: var(--brand-danger); }

.wishlist-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 0 16px;
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 48px 24px;
    text-align: center;
    color: #aaa;
}
.wishlist-empty i   { font-size: 48px; margin-bottom: 16px; color: #ddd; }
.wishlist-empty p   { font-size: 15px; margin: 0; }