.wishlist-page {
    padding: 20px 0;
}

.wishlist-items-count {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wishlist-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    position: relative;
}

.wishlist-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-item-photo {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.action.delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    z-index: 10;
}

.action.delete:hover {
    transform: scale(1.1);
}

.action.delete svg {
    fill: #ff4444;
}

.product-item-details {
    padding: 15px;
}

.product-item-name {
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.product-item-name a {
    color: #333;
    text-decoration: none;
}

.product-item-name a:hover {
    color: #f44336;
}

.product-item-price {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

.special-price {
    color: #f44336;
}

.product-item-actions {
    margin-top: 15px;
}

.action.tocart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.action.tocart:hover {
    background: #d32f2f;
}

.action.tocart svg {
    stroke: white;
}

.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-wishlist-icon {
    margin-bottom: 20px;
}

.wishlist-empty h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.wishlist-empty p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.button.primary {
    display: inline-block;
    background: #f44336;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.button.primary:hover {
    background: #d32f2f;
}

@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .product-item-details {
        padding: 10px;
    }
    
    .product-item-name {
        font-size: 14px;
    }
    
    .action.tocart span {
        display: none;
    }
}

/* Wishlist toolbar */
.wishlist-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.btn-clear-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-clear-wishlist:hover {
    background: #f44336;
    color: white;
    border-color: #f44336;
}

.btn-clear-wishlist:hover svg {
    stroke: white;
}

.btn-clear-wishlist svg {
    stroke: #666;
    transition: stroke 0.3s;
}

.btn-clear-wishlist.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .wishlist-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-clear-wishlist {
        width: 100%;
        justify-content: center;
    }
}
